Commit Graph

2238 Commits

Author SHA1 Message Date
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
Padma, Santhosh Kumar
ae6ae24d50 qcacld-3.0: Fix mgmtFrameSessionId in lim_send_p2p_action_frame
Cleanup as part of lim_p2p_action_cnf triggers only when
mgmtFrameSessionId is not 0xff. If cleanup does not happen
in error scenario, it can result in not clearing cfgState->buf
which can lead to dropping of further action frames in
__wlan_hdd_mgmt_tx.

Fix this by filling mgmtFrameSessionId with proper session id.

Change-Id: Icc0f5b576ff71776dc448a673b6e12defe0c514e
CRs-Fixed: 1074565
2016-10-07 18:46:05 -07:00
qcabuildsw
e62940e9d6 Release 5.1.0.29V
Release 5.1.0.29V

Change-Id: I372c04ea7e873dc5216225c827d02757a998cb08
CRs-Fixed: 688141
2016-10-07 17:35:01 -07:00
Rajeev Kumar
2df78cc9c3 qcacld-3.0: Clean up obsolete WMA power API wma_set_qpower_force_sleep
WMA qpower API wma_set_qpower_force_sleep is obsolete and is no longer
used. Clean up unused API wma_set_qpower_force_sleep.

Change-Id: Iad32be5e11c345a542b8f8f6660987a4aff837c7
CRs-Fixed: 1075289
2016-10-07 17:35:00 -07:00
qcabuildsw
405ba71ae7 Release 5.1.0.29U
Release 5.1.0.29U

Change-Id: Ia7f974a488976d3a1d88332a9fee0d6525b6289a
CRs-Fixed: 688141
2016-10-07 15:52:49 -07:00
Selvaraj, Sridhar
e9199ab7c7 qcacld-3.0: Fix to send TDLS frames on peer sta index
qcacld-2.0 to qcacld-3.0 propagation

Currently, After p2p disconnection system role changes to
unknown and due to which tx flag uses self station index
which would send TDLS frames on self station index thus
leading to TDLS connection failure after p2p session teardown.
Fix is to use peer station index in tx flag while sending
TDLS frames except TDLS discovery response which should go on
self station index.

Change-Id: I87ea8806a47730b553055e47bb3e7bdf0266b48f
CRs-Fixed: 970761
2016-10-07 15:52:48 -07:00
Selvaraj, Sridhar
5d95e631e3 qcacld-3.0: Fix consecutive TDLS connection failure after TDLS add sta failure
qcacld-2.0 to qcacld-3.0 propagation.

Currently, Failure of TDLS add sta is leading to failure of
next consecutive tdls connection.
Fix is to update the failure info to HDD and return error
to supplicant.

Change-Id: I0d46a198f2abb87b4a4350b454deb98c5e3b8211
CRs-Fixed: 958534
2016-10-07 15:52:46 -07:00
qcabuildsw
ccd00e89a0 Release 5.1.0.29T
Release 5.1.0.29T

Change-Id: I94e9f3abe6498420711e832526d003ff2f443bc0
CRs-Fixed: 688141
2016-10-07 14:14:45 -07:00
Sandeep Puligilla
ba71da4f6c qcacld-3.0: Detect duplicate session open request
Detect duplicate session request with same mac address
and return failure to requestor.

Change-Id: I0155f29e879e1c2a46a8b9efbcaf160353bf9c05
CRs-Fixed: 1072885
2016-10-07 14:14:44 -07:00
qcabuildsw
6485e1a407 Release 5.1.0.29S
Release 5.1.0.29S

Change-Id: Ifaeb43ba3ef6e851e3e5e0462dfd28ebb4dc29b3
CRs-Fixed: 688141
2016-10-07 12:54:41 -07:00
Kapil Gupta
4b2efbbb0c qcacld-3.0: Add support for 2.4G VHT Interop in SAP
qcacld-2.0 to qcacld-3.0 propagation

In 2.4GHz some stations advertise VHT capability IE in Assoc Req frame.
Add support to detect the VHT capability in vendor specific IE in
Assoc Req frame and establish the connection with VHT mode to
improve performance.

Change-Id: I08dbcb3ce1895aa2108924d7a672e5d9be514e3d
CRs-Fixed: 924814
2016-10-07 12:54:41 -07:00
Padma, Santhosh Kumar
022892105c qcacld-3.0: Fix status code during disassociation
qcacld-2.0 to qcacld-3.0 propagation

Currently status code is mapped same as reason code which results
in wrong status code mapping. Fix this by adding appropriate status
code.

Change-Id: I75a66601c33b4e93fcac674415f38d5a8184c8f3
CRs-Fixed: 1062308
2016-10-07 12:54:38 -07:00