Commit Graph

5637 Commits

Author SHA1 Message Date
Arif Hussain
0c81692edf qcacld-3.0: Fix null pointer access in lim_send_assoc_rsp_mgmt_frame
Make sure sta is not null before dereferencing in
lim_send_assoc_rsp_mgmt_frame function.

Change-Id: Ifb7c4a3b1e02297906bfa1b7908c27929682cf28
CRs-Fixed: 2030304
2017-07-27 16:58:43 -07:00
Linux Build Service Account
5833b7c944 Merge "qcacld-3.0: Add ecsa capability record" 2017-07-26 15:44:22 -07:00
CNSS_WLAN Service
6bdac3e6bf Merge "Release 5.2.0.35Q" into wlan-cld3.driver.lnx.2.0-dev 2017-07-26 14:02:56 -07:00
CNSS_WLAN Service
246b8faa88 Merge "qcacld-3.0: Set the driver_type in the mac during the mac_open" into wlan-cld3.driver.lnx.2.0-dev 2017-07-26 14:02:54 -07:00
CNSS_WLAN Service
8c451f8dda Merge "qcacld-3.0: Assign listen interval based on INI setting" into wlan-cld3.driver.lnx.2.0-dev 2017-07-26 14:02:52 -07:00
CNSS_WLAN Service
1499fbb8af Merge "Release 5.2.0.35P" into wlan-cld3.driver.lnx.2.0-dev 2017-07-26 00:38:57 -07:00
CNSS_WLAN Service
cb71bc09ed Merge "qcacld-3.0: Set final bmiss count to 20 from 10" into wlan-cld3.driver.lnx.2.0-dev 2017-07-26 00:38:56 -07:00
CNSS_WLAN Service
db56436b78 Merge changes I98019171,I69fb67a4 into wlan-cld3.driver.lnx.2.0-dev
* changes:
  Release 5.2.0.35O
  qcacld-3.0: Fix peer poison overwritten issue
2017-07-25 21:20:46 -07:00
Linux Build Service Account
75463cca73 Merge "qcacld-3.0: Add phymode parameter in hdd_chan_change_notify" 2017-07-25 21:17:11 -07:00
gaolez
7bb1e74744 qcacld-3.0: Add ecsa capability record
qcacld-2.0 to qcacld-3.0 propagation

Add eCSA capability record of STAs which associated to SAP.

Change-Id: I1d7892bb1dc4e490a587e8372a4bdc7f419e8b36
CRs-Fixed: 1094958
2017-07-25 15:44:06 -07:00
snandini
1bcfbdec22 Release 5.2.0.35Q
Release 5.2.0.35Q

Change-Id: Ifb82fa5436ff67cc1fa79a83181c09def6ff87ad
CRs-Fixed: 774533
2017-07-25 14:23:59 -07:00
Arunk Khandavalli
66f9169b50 qcacld-3.0: Set the driver_type in the mac during the mac_open
Presently during the mac open the globalmac context is memset to
zero and the based on the driver_type pe sessions will be created.

During the switch from the FTM to mission mode, pe checks the
driver mode from the mac context and tries to access the invalid
lim sessions which are not created for FTM mode.

To mitigate the issue set the driver_type in the mac context during
mac_open

CRs-Fixed: 2017035
Change-Id: Iddefd2f74afb71197c3830a51f107d86736745f1
2017-07-25 14:23:59 -07:00
Krunal Soni
b3f4542d3e qcacld-3.0: Assign listen interval based on INI setting
Current driver is assigning listening interval based on beacon interval
value which is incorrect.

Listen interval should be taken based on INI value.

CRs-Fixed: 2080042
Change-Id: I0ad52a8042589604d51fc632fe3ce31547a26628
2017-07-25 14:23:57 -07:00
snandini
1f389a9d65 Release 5.2.0.35P
Release 5.2.0.35P

Change-Id: I311005a540671406894ea8b30adf4f1605a4ef3c
CRs-Fixed: 774533
2017-07-25 09:53:29 -07:00
CNSS_WLAN Service
bc38804145 Merge "qcacld-3.0: Correct dev name in logs" into wlan-cld3.driver.lnx.2.0-dev 2017-07-25 09:07:48 -07:00
CNSS_WLAN Service
e3889e3e28 Merge "Release 5.2.0.35N" into wlan-cld3.driver.lnx.2.0-dev 2017-07-25 09:07:47 -07:00
CNSS_WLAN Service
0a40c2ac36 Merge "qcacld-3.0: Add new ini param for min rest time during roaming scan" into wlan-cld3.driver.lnx.2.0-dev 2017-07-25 09:07:46 -07:00
Mukul Sharma
9e8395ec44 qcacld-3.0: Set final bmiss count to 20 from 10
Due to multiple beacon miss issues observed in firmware,
Host is changing final bmiss count to 20 from 10.
Hence firmware can receive beacon in noisy environment.

Change-Id: I87e4a6eaec016f36ca22a057e0d9812c0b8696ff
CRs-Fixed: 2082088
2017-07-25 18:02:53 +05:30
snandini
b0cf09f839 Release 5.2.0.35O
Release 5.2.0.35O

Change-Id: I98019171133cdd8c0f861f164ae4bfc5054b02c0
CRs-Fixed: 774533
2017-07-25 03:45:27 -07:00
Mohit Khanna
babadb8bee qcacld-3.0: Fix peer poison overwritten issue
In the existing impementation, once wma_is_pkt_drop_candidate gets a
peer from ol_txrx_find_peer_by_addr, the peer can be deleted in the
SOFTIRQ path from the unmap handler. This would make the peer pointer
'stale' resulting in access to already freed memory.

- Use standard API OL_TXRX_PEER_UNREF_DELETE to decrement peer->ref_cnt
  instead of directly referencing it.
- Add a new API - ol_txrx_find_peer_by_addr_inc_ref which does not
  decrement the peer->ref_cnt until the usage of peer in the caller
  function is finished. The existing API ol_txrx_find_peer_by_addr
  can be replaced by the new API as and when the issues are seen.

Sample usage:
    {
	peer = ol_txrx_find_peer_by_addr_inc_ref
	/* This API gets the peer and increments its ref_cnt */
	...
	...
	/* Once peer usage is done */
	OL_TXRX_PEER_UNREF_DELETE(peer);
	/*
	 * This API deletes the reference to the peer or the peer itself
	 * if the peer->ref_cnt is 0. This way we no longer depend on
	 * peer unmaps to delete the peer.
	 */

    }

Change-Id: I69fb67a4b4c9e26344d2ed1a72c383be7ac62414
CRs-Fixed: 2008583
2017-07-25 03:45:26 -07:00
bings
58ce86229c qcacld-3.0: Add phymode parameter in hdd_chan_change_notify
Information in struct ch_params_s are the same for 11g and
11n ht20, so phymode is still needed to distinguish them.

Change-Id: I5ddfc011b4fd3b11c975f8b2df3a270e8141e622
CRs-Fixed: 2073580
2017-07-25 03:45:24 -07:00
Mahesh Kumar Kalikot Veetil
80dda9aab6 qcacld-3.0: Correct dev name in logs
Fix device name in the log. Current log is,
"hdd_open_adapter: xxxx: wlan%d interface created. iftype: 0."
Expected log is,
"hdd_open_adapter: xxxx: wlan0 interface created. iftype: 0."

CRS-Fixed: 2078530
Change-Id: Ida38e1e2f26d0a86382550409317ec36bd68f071
2017-07-25 03:45:22 -07:00
snandini
1659a55686 Release 5.2.0.35N
Release 5.2.0.35N

Change-Id: Ic6a619085ce04040fd982af50e30902e088a04fc
CRs-Fixed: 774533
2017-07-24 10:52:47 -07:00
Sridhar Selvaraj
1b2330ccb8 qcacld-3.0: Add new ini param for min rest time during roaming scan
Currently both min and max rest time use the same ini param
gNeighborScanTimerPeriod.

Add a new ini param gRoamRestTimeMin for min rest time
during channel scan.

Change-Id: Ifbb0fcc736e81b292639c6f2ad3119b451bec4f2
CRs-Fixed: 2060095
2017-07-24 10:52:47 -07:00
CNSS_WLAN Service
eaad0cfbad Merge "Release 5.2.0.35M" into wlan-cld3.driver.lnx.2.0-dev 2017-07-23 18:02:27 -07:00
CNSS_WLAN Service
d3f7c9d156 Merge "qcacld-3.0: Igonre HT BW change if channel switch is in progress" into wlan-cld3.driver.lnx.2.0-dev 2017-07-23 18:02:26 -07:00
CNSS_WLAN Service
826a89e442 Merge "Release 5.2.0.35L" into wlan-cld3.driver.lnx.2.0-dev 2017-07-23 18:02:25 -07:00
CNSS_WLAN Service
141b27102b Merge "qcacld-3.0: Add a flag check to remove the cmd in find req" into wlan-cld3.driver.lnx.2.0-dev 2017-07-23 18:02:24 -07:00
CNSS_WLAN Service
3a2dc8d9cf Merge "qcacld-3.0: Disable 160MHz SGI if SGI 40MHz INI cfg is disabled" into wlan-cld3.driver.lnx.2.0-dev 2017-07-23 18:02:23 -07:00
CNSS_WLAN Service
710b02add8 Merge "qcacld-3.0: Send fail response to del_self_sta req without del_bss" into wlan-cld3.driver.lnx.2.0-dev 2017-07-23 18:02:22 -07:00
CNSS_WLAN Service
73fa87ea33 Merge "Release 5.2.0.35K" into wlan-cld3.driver.lnx.2.0-dev 2017-07-23 18:02:20 -07:00
CNSS_WLAN Service
6880b9ebcb Merge "qcacld-3.0: Fix the incorrect error check in scan function" into wlan-cld3.driver.lnx.2.0-dev 2017-07-23 18:02:19 -07:00
CNSS_WLAN Service
4944b0609c Merge "Release 5.2.0.35J" into wlan-cld3.driver.lnx.2.0-dev 2017-07-23 18:02:18 -07:00
CNSS_WLAN Service
241eb37910 Merge "qcacld-3.0: Add vdev validity check before sending vdev set param" into wlan-cld3.driver.lnx.2.0-dev 2017-07-23 18:02:17 -07:00
snandini
a194f56ca3 Release 5.2.0.35M
Release 5.2.0.35M

Change-Id: Ibaf93f36505a5c4dd4f88e3449e333f065e9a365
CRs-Fixed: 774533
2017-07-21 23:25:59 -07:00
Kiran Kumar Lokere
f9dc79123c qcacld-3.0: Igonre HT BW change if channel switch is in progress
If channel switch is in progress and if the HT IE received in
beacon has the BW change then do not send the bandwidth update
request to FW. After the channel switch response is received and
beacon has different BW bandwidth a new BW update request will
be sent to FW.

Change-Id: Id41bd0523f821d2b81e132318230492fda79f32a
CRs-Fixed: 2068906
2017-07-21 23:25:58 -07:00
snandini
8251886f0c Release 5.2.0.35L
Release 5.2.0.35L

Change-Id: If8248d64505c19c071702a7f8c699aaa323bfc13
CRs-Fixed: 774533
2017-07-21 22:25:34 -07:00
Kiran Kumar Lokere
208041661a qcacld-3.0: Add a flag check to remove the cmd in find req
Add a flag to wma_find_vdev_req api to remove the wma request
message with conditional check.

Change-Id: Ia1166659e593312a2ebf34df5eba02fb23fc335a
CRs-Fixed: 2077738
2017-07-21 22:25:34 -07:00
Kiran Kumar Lokere
e25d3fce79 qcacld-3.0: Disable 160MHz SGI if SGI 40MHz INI cfg is disabled
Disable SGI in 160MHz mode if short GI for 40MHz is disabled in
the INI connfiguration

Change-Id: I6a0c7c7734d4c926dc29103207afb45a3eb1da94
CRs-Fixed: 2073269
2017-07-21 22:25:33 -07:00
Kiran Kumar Lokere
3557765ca9 qcacld-3.0: Send fail response to del_self_sta req without del_bss
Send the failure response for delete self sta request to SME if
the delete bss request is not present or being processed.

Change-Id: I8af9c96ee2027faf256563f800159070146770c8
CRs-Fixed: 2076336
2017-07-21 22:25:31 -07:00
snandini
17f925c415 Release 5.2.0.35K
Release 5.2.0.35K

Change-Id: I7f32f00743f40fae9c20ae437667256ce980bd6f
CRs-Fixed: 774533
2017-07-21 21:20:37 -07:00
Kabilan Kannan
703fc299e9 qcacld-3.0: Fix the incorrect error check in scan function
Due to incorrect error check wlan scan abort request
consistently fails.
Fix the error check statement.

Change-Id: I342f96596daaad9e6668059a7085dd215ff5241f
CRs-Fixed: 2049396
2017-07-21 21:20:37 -07:00
snandini
76174efb05 Release 5.2.0.35J
Release 5.2.0.35J

Change-Id: Ie1f0f800c615786f7d47476b167eac734484bc37
CRs-Fixed: 774533
2017-07-21 16:00:44 -07:00
CNSS_WLAN Service
dfbf506b15 Merge changes I87205d59,I91332da9 into wlan-cld3.driver.lnx.2.0-dev
* changes:
  qcacld-3.0: fix a potential spinlock lockup issue
  qcacld-3.0: add device attribute 'tsf'
2017-07-20 20:47:16 -07:00
Linux Build Service Account
ec1af2c219 Merge "qcacld-3.0: time stamp msdu with precise rx/tx time" 2017-07-20 20:44:49 -07:00
Linux Build Service Account
6c1da11513 Merge "Release 5.2.0.35I" 2017-07-19 22:47:25 -07:00
Linux Build Service Account
4ad62144be Merge "qcacld-3.0: Mask sdio host controller interrupts in shutdown" 2017-07-19 21:51:48 -07:00
CNSS_WLAN Service
f451bb81f4 Merge "Release 5.2.0.34Z" into wlan-cld3.driver.lnx.2.0-dev 2017-07-19 20:21:45 -07:00
CNSS_WLAN Service
91d5689c2c Merge "qcacld-3.0: Do RX packet aggregation for every 16th packet" into wlan-cld3.driver.lnx.2.0-dev 2017-07-19 20:21:44 -07:00
CNSS_WLAN Service
91281c75af Merge "Release 5.2.0.34Y" into wlan-cld3.driver.lnx.2.0-dev 2017-07-19 20:21:43 -07:00