Commit graph

2,451 commits

Author SHA1 Message Date
Dustin Brown
10a7b71ecc qcacld-3.0: Cleanup qpower vendor command
The original qpower vendor command implementation incorrectly configured
the qpower setting in firmware. Cleanup the implementation.

Change-Id: Id84eb7cf579a29da30f3366edef24821fcd5be55
CRs-Fixed: 1075582
2016-10-11 10:43:39 -07:00
qcabuildsw
b7102417bf Release 5.1.0.30H
Release 5.1.0.30H

Change-Id: I4f0f44bc22903fb4403c4794bd1b73109d9f6493
CRs-Fixed: 688141
2016-10-11 10:06:14 -07:00
Jeff Johnson
0d3a9d2a18 qcacld-3.0: Remove unused functions from cds_regdomain.c
Functions get_reg_dmn_for_country & cds_get_reg_dmn_5g are no longer
being used, so remove them.

Change-Id: I03308f6fd7802acf7e80c01f15f42c99bb77ce7e
CRs-Fixed: 1075544
2016-10-11 06:24:37 -07:00
Jeff Johnson
a7d169b1dc qcacld-3.0: Fix -Wmissing-prototypes in CDS
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in CDS.

Change-Id: I40141f7a9e7394e0071b84b32a2d2b95cfa3a09b
CRs-Fixed: 1075544
2016-10-11 06:24:37 -07:00
Jeff Johnson
6c3c2b56aa qcacld-3.0: Fix -Wmissing-prototypes in BMI
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in BMI.

Change-Id: I701a9620ad93b41b5bcfd79d0c048f62e8151a18
CRs-Fixed: 1075533
2016-10-11 06:24:37 -07:00
Jeff Johnson
af2a093bf5 qcacld-3.0: Fix -Wmissing-prototypes in wlan_hdd_wext
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in wlan_hdd_wext.

Change-Id: I35f793352b7a166018945f9a9ac8457bf58ee809
CRs-Fixed: 1074336
2016-10-11 06:24:37 -07:00
Jeff Johnson
3ae708d442 qcacld-3.0: Fix -Wmissing-prototypes in wlan_hdd_tx_rx
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in wlan_hdd_tx_rx.

Change-Id: Ic1eaf337ff339e979c3f78e667be9539eb47f5dc
CRs-Fixed: 1074336
2016-10-11 06:24:37 -07:00
Jeff Johnson
dde3449880 qcacld-3.0: Fix -Wmissing-prototypes in wlan_hdd_tsf
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in wlan_hdd_tsf.

Change-Id: I37e98814da218d9322a8d3ac05a0e19523859281
CRs-Fixed: 1074336
2016-10-11 06:24:37 -07:00
Jeff Johnson
6376abe7a4 qcacld-3.0: Fix -Wmissing-prototypes in wlan_hdd_softap_tx_rx
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in wlan_hdd_softap_tx_rx.

Change-Id: I26dd53307454d2c4dd887345eb77a9d362b5fdf2
CRs-Fixed: 1074336
2016-10-11 06:24:37 -07:00
Jeff Johnson
0eed72f1ef qcacld-3.0: Fix -Wmissing-prototypes in wlan_hdd_scan
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in wlan_hdd_scan.

Change-Id: I877d7e7b7be30a9195daad63d09999bb87f4add4
CRs-Fixed: 1074336
2016-10-11 06:24:37 -07:00
Jeff Johnson
87a24256c1 qcacld-3.0: Fix -Wmissing-prototypes in wlan_hdd_regulatory
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in wlan_hdd_regulatory.

Change-Id: Ie9252966d9b4bbb49d934516bae16ecc6a03f0f4
CRs-Fixed: 1074336
2016-10-11 06:24:37 -07:00
Jeff Johnson
c8d0c25730 qcacld-3.0: Fix -Wmissing-prototypes in wlan_hdd_power
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in wlan_hdd_power.

Change-Id: I8ebc518eed2c56764eb18ef6881e1fb344b2f0d4
CRs-Fixed: 1074336
2016-10-11 06:24:37 -07:00
Jeff Johnson
d229104761 qcacld-3.0: Fix -Wmissing-prototypes in wlan_hdd_p2p
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in wlan_hdd_p2p.

Change-Id: Ifea057311a2fc0ec45d2137c2264311f8c9b2a3b
CRs-Fixed: 1074336
2016-10-11 06:24:37 -07:00
Jeff Johnson
590e201405 qcacld-3.0: Fix -Wmissing-prototypes in wlan_hdd_main
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in wlan_hdd_main.

Change-Id: Ib96b87acf019bc602adddb36f54792b872e2ad6e
CRs-Fixed: 1074336
2016-10-11 06:24:37 -07:00
Jeff Johnson
64d8618a53 qcacld-3.0: Fix -Wmissing-prototypes in wlan_hdd_lro
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in wlan_hdd_lro.

Change-Id: I5f640761078b877732d00b7eddabbd21996bbc71
CRs-Fixed: 1074336
2016-10-11 06:24:37 -07:00
Jeff Johnson
d772063714 qcacld-3.0: Fix -Wmissing-prototypes in wlan_hdd_ipa
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in wlan_hdd_ipa.

Change-Id: Ie789cc0c00ab6553ad4ca1a12968d50078afe763
CRs-Fixed: 1074336
2016-10-11 06:24:37 -07:00
Jeff Johnson
e4090f7d87 qcacld-3.0: Fix -Wmissing-prototypes in wlan_hdd_hostapd
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in wlan_hdd_hostapd.

Change-Id: I3b15af337185c28b2066e9d28e9e174cfc5ab76a
CRs-Fixed: 1074336
2016-10-11 06:24:37 -07:00
Jeff Johnson
cd2a079b97 qcacld-3.0: Fix -Wmissing-prototypes in wlan_hdd_ext_scan
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in wlan_hdd_ext_scan.

Change-Id: I29c7ba3ef4e9eaa8a28268161a10f3b25249601d
CRs-Fixed: 1074336
2016-10-11 06:24:37 -07:00
Jeff Johnson
7782cb90b8 qcacld-3.0: Fix -Wmissing-prototypes in wlan_hdd_driver_ops
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in wlan_hdd_driver_ops.

Change-Id: I6a941cd82af543d433427b5ce3aad80f7e1c8e57
CRs-Fixed: 1074336
2016-10-11 06:24:36 -07:00
Jeff Johnson
510779e8bf qcacld-3.0: Fix -Wmissing-prototypes in wlan_hdd_debugfs
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in wlan_hdd_debugfs.

Change-Id: I6ebadd731e4d92a63025567ef75bc939faa0e546
CRs-Fixed: 1074336
2016-10-11 06:24:36 -07:00
Jeff Johnson
8b8a04bd1c qcacld-3.0: Fix -Wmissing-prototypes in wlan_hdd_cfg80211
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in wlan_hdd_cfg80211.

Change-Id: I749b17dfc313fa72da49116a5452a5c63102f718
CRs-Fixed: 1074336
2016-10-11 06:24:36 -07:00
Jeff Johnson
f1bf3a6da0 qcacld-3.0: Fix -Wmissing-prototypes in wlan_hdd_cfg
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in wlan_hdd_cfg.

Change-Id: Ie23da29a1515249c04185ad4e146d8c9f4256c0f
CRs-Fixed: 1074336
2016-10-11 06:24:36 -07:00
Jeff Johnson
018d7d3f31 qcacld-3.0: Fix -Wmissing-prototypes in wlan_hdd_assoc
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in wlan_hdd_assoc.

Change-Id: I89f3273ff3d2bf3f68d1e8c39dd967e07637b265
CRs-Fixed: 1074336
2016-10-11 06:24:36 -07:00
qcabuildsw
8cf22ab5af Release 5.1.0.30G
Release 5.1.0.30G

Change-Id: I566ee17f2d1f05bebb3ddb47c8e30c1a8a8aad6a
CRs-Fixed: 688141
2016-10-10 22:12:22 -07:00
Naveen Rawat
ac39a10fae qcacld-3.0: Panic when wait for WMI_SERVICE_READY_EXT_EVENT times out
Change ASSERT to BUG_ON when wait for WMI_SERVICE_READY_EXT_EVENT times
out in insmod thread.

Change-Id: Ie666fd0881969a503e6b3635cdc5bb7f223776ec
CRs-Fixed: 1075166
2016-10-10 22:12:20 -07:00
qcabuildsw
02e3608a68 Release 5.1.0.30F
Release 5.1.0.30F

Change-Id: I973a03e4d88ed9841e81f0609f840f5a6d59d105
CRs-Fixed: 688141
2016-10-10 17:16:23 -07:00
Dustin Brown
43e872901a qcacld-3.0: Parse timer params in setpno iwpriv command
Currently, the setpno iwpriv command ignores timer related parameters.
Expand the setpno iwpriv command logic to parse timer related
parameters.

Change-Id: Ib318d3821e7da0fb7b2887d935ec5f5c706e6263
CRs-Fixed: 1076096
2016-10-10 17:16:22 -07:00
qcabuildsw
14ee4a788a Release 5.1.0.30E
Release 5.1.0.30E

Change-Id: I67fb71a0708ceb0de1bdde815a3d364971d7537b
CRs-Fixed: 688141
2016-10-10 13:01:05 -07:00
Dustin Brown
87c4428fd1 qcacld-3.0: Change RA Filtering to Enabled by Default
As a fallback mechanism in case APF is disabled for any reason, ensure
RA Filtering is enabled by default.

Change-Id: Ib9163ca5dd89a7594c2e02b5f8c099ddbb5b3fc6
CRs-Fixed: 1075102
2016-10-10 13:01:04 -07:00
Dustin Brown
105d790504 qcacld-3.0: Log suspend failure reasons
Increment counters for the various reasons a suspend might fail, and
log them via print messages at time of failure.

Change-Id: Ie1fb700577aee5f1b3a0d29277b81299a13dbde3
CRs-Fixed: 1073824
2016-10-10 13:01:03 -07:00
Dustin Brown
d53d1a85c6 qcacld-3.0: Cleanup code related to unit-test framework
A previous unit-test framework change contained some outstanding clean
code issues. Address the issues to ensure cleaner code is maintained.

Change-Id: I889d4e12a7c00b5fc6cb409bc077466019442456
CRs-Fixed: 1073756
2016-10-10 13:00:59 -07:00
qcabuildsw
0a83fb550f Release 5.1.0.30D
Release 5.1.0.30D

Change-Id: I480aa1260718be59210d13be56d5d28a9df18a2c
CRs-Fixed: 688141
2016-10-10 05:12:13 -07:00
Arif Hussain
4afc226c49 qcacld-3.0: Fix uninitialized variable use in cds_set_5g_channel_params
Initialize pointers bonded_chan_ptr and bonded_chan_ptr2 in function
with NULL and add check to avoid NULL/wild pointer dereference.

Change-Id: I48e4417998d75a7a42d6e55106896709016ac61c
CRs-Fixed: 1075098
2016-10-10 05:12:12 -07:00
qcabuildsw
61bb0bcd99 Release 5.1.0.30C
Release 5.1.0.30C

Change-Id: I403a76b07b94278931713de0018e437f2dd920d8
CRs-Fixed: 688141
2016-10-10 04:33:23 -07:00
Mukul Sharma
f7d62e1ccc qcacld-3.0: Add ini to raise bug on SSR re-init failure
qcacld-2.0 to qcacld-3.0 propagation

Currently, If SSR re-init get failed then host raise VOS_BUG.
In this type of cases, OEM might prefer not to crash the device
instead want wlan recovery using driver unload followed by load.

Change-Id: If433aae949326af6a20df2190dd7356f211c4103
CRs-Fixed: 1017278
2016-10-10 04:33:22 -07:00
qcabuildsw
e1e7cd1c40 Release 5.1.0.30B
Release 5.1.0.30B

Change-Id: I524c0c9896eedb0e9907efb739d4e8392440de2e
CRs-Fixed: 688141
2016-10-10 03:55:03 -07:00
Nitesh Shah
5b7bae07fc qcacld-3.0: Add SBS support in hw_mode_list
The enhancement is to add SBS (Single Band Simultaneous)
support in hw_mode_list.

The WMI HW Mode definitions are redefined to use only
for host purpose.

Change-Id: I8b8c966b0130964c8e7de7967766629c955209d3
CRs-Fixed: 1072234
2016-10-10 03:55:02 -07:00
qcabuildsw
744e152a9a Release 5.1.0.30A
Release 5.1.0.30A

Change-Id: Ib38370edae55460eeedd78ec3cbbc6c69c687061
CRs-Fixed: 688141
2016-10-10 02:37:43 -07:00
Poddar, Siddarth
538581282b qcacld-3.0: Remove the processing for depreciated pktlog msg
Remove the processing of following msg types PKTLOG_TYPE_TX_MSDU_ID,
PKTLOG_TYPE_TX_FRM_HDR and PKTLOG_TYPE_TX_VIR_ADDR for ihelium as
support for these events is removed from FW.

Change-Id: Ic526507d8adf87e580bd5c23ad2e68e2154c38a8
CRs-Fixed: 1074043
2016-10-10 02:37:42 -07:00
qcabuildsw
e8ddb702e8 Release 5.1.0.30
Release 5.1.0.30

Change-Id: I04084060c44f6f732c49533ed074a805606f160e
CRs-Fixed: 688141
2016-10-07 21:18:47 -07:00
Deepak Dhamdhere
f74d6f8a97 qcacld-3.0: Fix peer unmap/map handling during roaming
Roam_synch indication processing in host performs peer detach/attach
operations after firmware has already moved to the new peer. Out of
sequence peer unmap and map events can mess up the reference count
for reused peer_id values, which can lead to crash.
Solution:
While detaching a peer during roam sync indication processing,
copy its peer_id_ref_cnt in peer_id_to_obj array to new variable
in the same peer map for that peer id. Peer is deleted at that point.
When the unmap events come in, decrement the old ref_cnt and
map events increment the real ref_cnt.
Once the old ref_cnt goes to 0, subsequent unmap operations apply to
the real peer.

CRs-Fixed: 1063177
Change-Id: I9b20f28f17dea1647a213b9f36060109264addf0
2016-10-07 21:18:46 -07:00
Deepak Dhamdhere
561cdb9c4a qcacld-3.0: Fix improper use of qdf_event_create
Improper use of qdf_event_create caused QDF_ASSERT. Use qdf_event_reset
in ol_txrx_peer_attach(). Use correct comparison for return value
of qdf_wait_single_event().

CRs-Fixed: 1065451
Change-Id: I735fe12230b6558123f73d68f09fd126bf0406d6
2016-10-07 21:18:44 -07:00
qcabuildsw
4f7f258402 Release 5.1.0.29Z
Release 5.1.0.29Z

Change-Id: I7be14ba7785a0207fef21c2d4461c6c364c10e3d
CRs-Fixed: 688141
2016-10-07 20:34:35 -07:00
Archana Ramachandran
1e6b9262ad qcacld-3.0: Add range check for P2P NOA request parameters
Add range check for P2P NOA parameters such as duration and
interval to prevent integer overflow from binary operation.

Change-Id: Iffa57d592af7ac6af7f67d80b85a276aa8faee4e
CRs-Fixed: 1072839
2016-10-07 20:34:34 -07:00
qcabuildsw
fa2d77387f Release 5.1.0.29Y
Release 5.1.0.29Y

Change-Id: I6abc5adbedf2b7184c7d3544f855acd09842a4e2
CRs-Fixed: 688141
2016-10-07 19:57:25 -07:00
Kabilan Kannan
32eb50281c qcacld-3.0: Clean up and refactor tdls module
Currently the build fails, if we disable TDLS
feature flag in the kbuild.
Fix all the tdls conditional compilation issues
to make a successfull build with tdls feature
flag enabled/disabled.

Change-Id: I78114474d9ebe65e76840cb581389535f3486e4f
CRs-Fixed: 1066077
2016-10-07 19:57:23 -07:00
qcabuildsw
f1ba31e987 Release 5.1.0.29X
Release 5.1.0.29X

Change-Id: I7625c975d6f1be9198fb080426b46a3b781fd976
CRs-Fixed: 688141
2016-10-07 19:24:26 -07:00
Ankit Gupta
d97be64489 qcacld-3.0: Remove unused message types
lim_process_message() function references to unused
message types that starts with eWNI_PMC*.

Cleanup the code and remove the unused message type
references from the code.

Change-Id: I5c88cb2544f74cb8c5e05b9178071ddbfaf2de23
Depends-on: 1727734
CRs-Fixed: 1071366
2016-10-07 19:24:25 -07:00
Ankit Gupta
fef4c02f2c qcacld-3.0: Make lim_process* messages static functions
lim_process_messages() and lim_process_deferred_message_queue
are currently a global functions, but they are only referenced
from within lim_process_message_queue.c.

Making lim_process_messages() and lim_process_deferred_message_queue
to be a static function and rearrange it to avoid any forward
reference of it.

Change-Id: I30c5b388814de5fc02fd0352ef41c324216af705
CRs-Fixed: 1071312
2016-10-07 19:24:23 -07:00
qcabuildsw
f754bee389 Release 5.1.0.29W
Release 5.1.0.29W

Change-Id: I3af91053db071b62137116ecd62c782fa9d05b7c
CRs-Fixed: 688141
2016-10-07 18:46:06 -07:00