Commit Graph

16775 Commits

Author SHA1 Message Date
nshrivas
5df979042c Release 5.2.0.175D
Release 5.2.0.175D

Change-Id: Ibe7015397d50dd56963f175fb69db7c255ea11db
CRs-Fixed: 774533
2020-03-08 23:58:15 -07:00
Srinivas Dasari
ef993fd575 qcacld-3.0: Stop bus_bw timer as part of stop_adapter for NDI
bus_bw timer start happens when first NDP is connected and
stop happens when last peer is departed indication is received
from firmware. But as part of driver unload, driver issues
stop_bss and firmware doesn't send any NDP END indication after
receiving this. So the timer started as part of first NDP confirm
is not stopped.
Try to stop the timer after processing the sme_disconnect which
is issued as part of stop_adapter for NDI mode.

Also, in STA+NDI concurrency scenario, bus bandwidth timer is
stopped on STA disconnection since hdd_any_adapter_is_assoc
checks only for other active STA or SAP. Add an NDI active
check so that timer is not stopped when NDPs are present on
an NDI.

Change-Id: Ibec447846fefad153261830c34bf2fa914636c7a
CRs-Fixed: 2625586
2020-03-08 23:58:14 -07:00
nshrivas
ff3fcbfa29 Release 5.2.0.175C
Release 5.2.0.175C

Change-Id: I4f9dd0cc7dbf816deadd37289e179cecd43c2e4c
CRs-Fixed: 774533
2020-03-07 14:32:55 -08:00
Min Liu
fd0c7f1208 qcacld-3.0: Add policy attribute to hdd_wiphy_vendor_commands
According to new changes in kernel 5.4 version onwards, driver has to
provide the policy for a NL command to ve verified against while
registering wiphy to the kernel.

To accommodate these changes, add policy for all the following
vendor commands that are being registered in the driver

QCA_NL80211_VENDOR_SUBCMD_EXTSCAN_START
QCA_NL80211_VENDOR_SUBCMD_EXTSCAN_STOP
QCA_NL80211_VENDOR_SUBCMD_EXTSCAN_GET_VALID_CHANNELS
QCA_NL80211_VENDOR_SUBCMD_EXTSCAN_GET_CAPABILITIES
QCA_NL80211_VENDOR_SUBCMD_EXTSCAN_GET_CACHED_RESULTS
QCA_NL80211_VENDOR_SUBCMD_EXTSCAN_SET_BSSID_HOTLIST
QCA_NL80211_VENDOR_SUBCMD_EXTSCAN_RESET_BSSID_HOTLIST
QCA_NL80211_VENDOR_SUBCMD_EXTSCAN_SET_SIGNIFICANT_CHANGE
QCA_NL80211_VENDOR_SUBCMD_EXTSCAN_RESET_SIGNIFICANT_CHANGE
QCA_NL80211_VENDOR_SUBCMD_EXTSCAN_PNO_SET_LIST
QCA_NL80211_VENDOR_SUBCMD_EXTSCAN_PNO_SET_PASSPOINT_LIST
QCA_NL80211_VENDOR_SUBCMD_EXTSCAN_PNO_RESET_PASSPOINT_LIST

Change-Id: I664e59564642c25fad931aca37cbc696b0c53b49
CRs-Fixed: 2635225
2020-03-07 14:32:55 -08:00
nshrivas
e2124e159c Release 5.2.0.175B
Release 5.2.0.175B

Change-Id: I7fa9ed05c4b6f652ea19c6dafda7bdee48ec4b7d
CRs-Fixed: 774533
2020-03-07 03:19:45 -08:00
Srinivas Girigowda
802283bd11 qcacld-3.0: Add policy attribute to SUBCMD_GET_CHAIN_RSSI
According to new changes in kernel 5.2 version onwards, driver has to
provide the policy for a NL command to be verified against while
registering wiphy to the kernel.

To satisfy kernel 5.2 requirement add policy to following vendor
command as part of this change:
    QCA_NL80211_VENDOR_SUBCMD_GET_CHAIN_RSSI

Change-Id: Id1d1f1ee339bcef83b714e33cc174f886fee5ce6
CRs-Fixed: 2634263
2020-03-07 03:19:45 -08:00
nshrivas
7289d17503 Release 5.2.0.175A
Release 5.2.0.175A

Change-Id: I49374abb08a60c71844414ccdfcfb17ef0fa0c61
CRs-Fixed: 774533
2020-03-07 01:45:36 -08:00
Jianmin Zhu
3fa522c495 qcacld-3.0: Fill vdev mlme bss channel just after vdev start
Copy desire channel to vdev mlme bss channel after vdev start,
several APIs used bss channel before it is filled, issue happens
like wrong max tx power is set.

Change-Id: Ib46b5b9eebc2000d703dc542c97f85281c0f376c
CRs-Fixed: 2636775
2020-03-07 01:45:36 -08:00
Srinivas Girigowda
51b1536f7a qcacld-3.0: Add policy attribute to SUBCMD_EXTERNAL_ACS
According to new changes in kernel 5.2 version onwards, driver has to
provide the policy for a NL command to be verified against while
registering wiphy to the kernel.

To satisfy kernel 5.2 requirement add policy to following vendor
command as part of this change:
    QCA_NL80211_VENDOR_SUBCMD_EXTERNAL_ACS

Change-Id: If2e7aec3d6f6d98168e0ceededea8d86db7078d9
CRs-Fixed: 2634255
2020-03-07 01:45:07 -08:00
nshrivas
8dcd27c0b8 Release 5.2.0.175
Release 5.2.0.175

Change-Id: I03dfb703fa2868d510b1c81a514af9da2276e20f
CRs-Fixed: 774533
2020-03-06 23:41:20 -08:00
Liangwei Dong
93c03dad7f qcacld-3.0: Flush pmksa cache for SAP when SAP stop
In certain case, the active SAP interface will be deleted by
__wlan_hdd_del_virtual_intf by upper layer. In that case,
we need to flush pmksa in SAP PMKID cache.

Change-Id: I9a152df7a4c27aef82664f039fbca18259d6b63a
CRs-Fixed: 2635424
2020-03-06 23:41:20 -08:00
nshrivas
5d219dda31 Release 5.2.0.174Z
Release 5.2.0.174Z

Change-Id: Ie5acaeaf83779e73195e480392625c4c5d9e7819
CRs-Fixed: 774533
2020-03-06 22:06:39 -08:00
Abhinav Kumar
d47cc6f4eb qcacld-3.0: Log enhancement for PNO scan
Remove unwanted prints for PNO scan.

Change-Id: I1223086b2987e9687ee814647437dcecda351da7
CRs-Fixed: 2636639
2020-03-06 22:06:39 -08:00
nshrivas
dbbec865b3 Release 5.2.0.174Y
Release 5.2.0.174Y

Change-Id: I0b0ede979aaa71329591f0dbaee5274fa5eb4a00
CRs-Fixed: 774533
2020-03-06 20:33:44 -08:00
Ashish Kumar Dhanotiya
919239acdb qcacld-3.0: Check for vendor vht ie to fill assoc ind param
Currently there is no check for vendor vht ie in lim fill
assoc indication param api. If a station fills its vhtcaps
in vendor vht ie in assoc request, lim does not fill
vhtcaps information in assoc indication params from
station's assoc request and it results in invalid caps info
in assoc indication to upper layers.

To avoid this issue, add a check to look for vendor vht caps
before copy of the vht caps to assoc indication from assoc
request.

Change-Id: If80136d9a923d23b7db3ebec1d49e6e4012e6dd2
CRs-Fixed: 2633003
2020-03-06 20:33:43 -08:00
nshrivas
c9b88383e2 Release 5.2.0.174X
Release 5.2.0.174X

Change-Id: I9dc4a752ce0801436e82c8f0a287960eb85bd812
CRs-Fixed: 774533
2020-03-06 18:51:43 -08:00
Ashish Kumar Dhanotiya
50250837e4 qcacld-3.0: Reset qdf event before wait
Currently sar safety request response event is not getting
reset before it starts wait for completion in sar
unsolicited timer callback which may cause issues if this
event gets complete multiple times.

To avoid above issue, reset the sar safety request response
event before it starts wait for completion.

CRs-Fixed: 2634885
Change-Id: I47b8abd6e960acc4dd9eef43faebe7e34203c380
2020-03-06 18:51:43 -08:00
Surabhi Vishnoi
f4bee3a7c5 qcacld-3.0: Update the occupied channel list after CSA
Currenlty the occupied channel list is not updated with the new
channel to which STA gets connected after CSA. This leads to non
updation of the scan_list in firmware with the new occupied
channel. So firmware goes for a full scan instead of partial scan
in case of roam scan trigger.

To mitigate this issue, update the occupied channel list with the
new channel after CSA, which will lead to updation of scan list in
firmware.

Change-Id: I21e9bdd3474ecd23e49aabf27c2a9978b158c2ce
CRs-Fixed: 2632943
2020-03-06 18:51:22 -08:00
nshrivas
46c1ef256d Release 5.2.0.174W
Release 5.2.0.174W

Change-Id: I833f648a1aa980b21f29fd2c3970eb34b7a09ad3
CRs-Fixed: 774533
2020-03-06 16:38:55 -08:00
nshrivas
58fdcd1530 Release 5.2.0.174V
Release 5.2.0.174V

Change-Id: I81920256ffad0761bb7e0ee2ce0dfa1ac6e3da5c
CRs-Fixed: 774533
2020-03-06 08:36:24 -08:00
Surabhi Vishnoi
85d94fc4b9 qcacld-3.0: Clear ftm_time_sync offset on disconnect and add bssid in sysfs
The Qtime offset derived with a connected AP (master) are not
cleared on disconnect. This leads to storage of stale offset
values. So clear the stale Qtime offset values on disconnection.

Currently there is no information in ftm_time_sync sysfs entry
regarding which BSSID the Qtime offset values are derived.
Add the BSSID info in the sysfs entry.

Change-Id: Iac47bccffae005602469a658e5ca0bc9008ac4b4
CRs-Fixed: 2629822
2020-03-06 08:36:24 -08:00
nshrivas
60de8cadbd Release 5.2.0.174U
Release 5.2.0.174U

Change-Id: Ie7bc9656fab7f0d06f94d916e0f3f62b88ccb657
CRs-Fixed: 774533
2020-03-06 05:29:57 -08:00
Srinivas Girigowda
1129ba43a7 qcacld-3.0: Add policy attribute to SUBCMD_SET_SAR_LIMITS
According to new changes in kernel 5.2 version onwards, driver has to
provide the policy for a NL command to be verified against while
registering wiphy to the kernel.

To satisfy kernel 5.2 requirement add policy to following vendor
command as part of this change:
    QCA_NL80211_VENDOR_SUBCMD_SET_SAR_LIMITS

Change-Id: Ic02df66a2937aa3e1fd6b6193fbe31b7b4141ba4
CRs-Fixed: 2634250
2020-03-06 05:29:57 -08:00
Srinivas Girigowda
c58548360f qcacld-3.0: Add policy attribute to SUBCMD_CONFIGURE_TDLS
According to new changes in kernel 5.2 version onwards, driver has to
provide the policy for a NL command to be verified against while
registering wiphy to the kernel.

To satisfy kernel 5.2 requirement add policy to following vendor
command as part of this change:
	QCA_NL80211_VENDOR_SUBCMD_CONFIGURE_TDLS

Change-Id: I181d9d5c4160847d4d1be98f2ce5fa2627b3972a
CRs-Fixed: 2634233
2020-03-06 05:29:35 -08:00
nshrivas
2ce7a0911c Release 5.2.0.174T
Release 5.2.0.174T

Change-Id: I1c2cae3560764412a96926b649b2e255aed47ffa
CRs-Fixed: 774533
2020-03-06 04:08:06 -08:00
nshrivas
6530f59011 Release 5.2.0.174S
Release 5.2.0.174S

Change-Id: Ia7783bed80437449749fdfe198930cbedfecd574
CRs-Fixed: 774533
2020-03-06 02:41:16 -08:00
Srikanth Marepalli
f8d599b48d qcacld-3.0: Add INI support for DFS Channel Ageout Time
Add ini support for DFS Channel Ageout Time, the time upto which
DFS channel information such as beacon found is remembered.
This ini is used to set the ageout timer value from host to FW.
If not set, FW will disable ageout time.
This value is sent as a WMI_PDEV_PARAM_SET_DFS_CHAN_AGEOUT_TIME
as part of WMI_PDEV_SET_PARAM_CMDID.

Change-Id: I99553fa87a4025f03c52b4b387a414ba06c2c457
CRs-Fixed: 2625996
2020-03-06 02:41:16 -08:00
nshrivas
e607d61a8c Release 5.2.0.174R
Release 5.2.0.174R

Change-Id: If9ed5061af3831bbb5793754c6e77866b0dd797f
CRs-Fixed: 774533
2020-03-06 01:12:32 -08:00
Alan Chen
e5ba8b0e36 qcacld-3.0: Add policy attribute to OEM_DATA
According to new changes in kernel 5.4 version onwards, driver has to
provide the policy for a NL command to be verified against while
registering wiphy to the kernel.

To satisfy kernel 5.4 requirement add policy to following vendor
command as part of this change:
	QCA_NL80211_VENDOR_SUBCMD_OEM_DATA

Change-Id: Idf44f40763aa967681a3e5e9df43f259b0254b61
CRs-Fixed: 2635048
2020-03-06 01:12:32 -08:00
nshrivas
8b270d2878 Release 5.2.0.174Q
Release 5.2.0.174Q

Change-Id: I5d6bc6a6a21c1c2bf5f3225f625afa55978fef05
CRs-Fixed: 774533
2020-03-05 23:40:53 -08:00
Alan Chen
e07616e9b2 qcacld-3.0: Add policy attribute to BEACON_REPORTING
According to new changes in kernel 5.4 version onwards, driver has to
provide the policy for a NL command to be verified against while
registering wiphy to the kernel.

To satisfy kernel 5.4 requirement add policy to following vendor
command as part of this change:
	QCA_NL80211_VENDOR_SUBCMD_BEACON_REPORTING

Change-Id: I2f7cba7cb16d4a13fab33398e3034e71902317f3
CRs-Fixed: 2635027
2020-03-05 23:40:53 -08:00
Alan Chen
097ad5283b qcacld-3.0: Add policy attribute to ACTIVE_TOS
According to new changes in kernel 5.4 version onwards, driver has to
provide the policy for a NL command to be verified against while
registering wiphy to the kernel.

To satisfy kernel 5.4 requirement add policy to following vendor
command as part of this change:
	QCA_NL80211_VENDOR_SUBCMD_ACTIVE_TOS

Change-Id: I915ec5494ef16e7cc5b8c42d814c512a925ef469
CRs-Fixed: 2634120
2020-03-05 23:40:38 -08:00
nshrivas
5757292dd8 Release 5.2.0.174P
Release 5.2.0.174P

Change-Id: Ie4e2d038ef381f69a8452540d8dd93c7f386a96a
CRs-Fixed: 774533
2020-03-05 22:07:42 -08:00
nshrivas
df771bd0b2 Release 5.2.0.174O
Release 5.2.0.174O

Change-Id: Ia503e46f166517e244c3be1f908f78f4c8a4e49e
CRs-Fixed: 774533
2020-03-05 19:42:04 -08:00
Alan Chen
e623051493 qcacld-3.0: Add policy attribute to FETCH_BSS_TRANSITION_STATUS
According to new changes in kernel 5.4 version onwards, driver has to
provide the policy for a NL command to be verified against while
registering wiphy to the kernel.

To satisfy kernel 5.4 requirement add policy to following vendor
command as part of this change:
	QCA_NL80211_VENDOR_SUBCMD_FETCH_BSS_TRANSITION_STATUS

Change-Id: I7c49d959e7c5d232572aae78616b18cee875cbb1
CRs-Fixed: 2632084
2020-03-05 19:42:04 -08:00
Alan Chen
1c570b38f4 qcacld-3.0: Add policy attribute to SUBCMD_NUD_STATS_SET
According to new changes in kernel 5.4 version onwards, driver has to
provide the policy for a NL command to be verified against while
registering wiphy to the kernel.

To satisfy kernel 5.4 requirement add policy to following vendor
command as part of this change:
	QCA_NL80211_VENDOR_SUBCMD_NUD_STATS_SET

Change-Id: I1023872146d398252cd8dbde8431cd8c5e839a31
CRs-Fixed: 2631294
2020-03-05 19:41:44 -08:00
nshrivas
61206f13d3 Release 5.2.0.174N
Release 5.2.0.174N

Change-Id: I4a5065532f0cbf24366145dca4646fd97b9ac546
CRs-Fixed: 774533
2020-03-05 15:19:14 -08:00
Gururaj Pandurangi
bf4774a59d qcacld-3.0: Fix while condition in rrm_fill_beacon_ies()
In function rrm_fill_beacon_ies, do while loop is checked
for BcnNumIes if it is greater than IE length 0. Fix the
check to be greater than 2 as the first two bytes is IE
header(element ID and IE length fields both 1 byte each.)

Change-Id: I11e5de481cd49a22acafee938fbe73f839f5b0e4
CRs-Fixed: 2626729
2020-03-05 15:19:14 -08:00
nshrivas
850f6d3d11 Release 5.2.0.174M
Release 5.2.0.174M

Change-Id: I792ee6bbd3216c28db9507a7ce0595fbb3186b52
CRs-Fixed: 774533
2020-03-05 12:49:46 -08:00
Nisha Menon
c8626b3f18 qcacld-3.0: Remove excessive logging in hdd_rx_deliver_to_stack
Remove the excess error log in hdd_rx_deliver_to_stack. The hdd
rx/tx stats are incremented in caller for success and failed
cases for delivering the skb to network stack. This error log
is redundtant as stats for rx packets refused is incremented
when packets are dropped by the network stack.

Change-Id: I5a774db18966f9b43721278daef936de7524d6f7
CRs-Fixed: 2633475
2020-03-05 12:49:45 -08:00
nshrivas
0ce427a2a3 Release 5.2.0.174L
Release 5.2.0.174L

Change-Id: Ia8287acd9ab02c05cb938a479c68df3afdfeefe3
CRs-Fixed: 774533
2020-03-05 07:09:36 -08:00
Abhishek Singh
d79a6bd8d0 qcacld-3.0: Remove unused scan params
Remove unused params from struct tag_csrscan_result and
struct csr_config.

Change-Id: Idec036e8fb60752905e0c1d291713ca5e6ea2aad
CRs-Fixed: 2634391
2020-03-05 07:09:36 -08:00
nshrivas
878cb4f4d5 Release 5.2.0.174K
Release 5.2.0.174K

Change-Id: I50ff67f9cb8f72ac88ab559782c9d2083a0e138e
CRs-Fixed: 774533
2020-03-05 00:19:41 -08:00
Rajeev Kumar
dd2a53d62c qcacld-3.0: Add policy attribute to SUBCMD_THERMAL_CMD
According to new changes in kernel 5.2 version onwards, driver has to
provide the policy for a NL command to be verified against while
registering wiphy to the kernel.

To satisfy kernel 5.2 requirement add policy to following vendor
command as part of this change:
	QCA_NL80211_VENDOR_SUBCMD_THERMAL_CMD

Change-Id: Ia5a5e62b3fe086c3fab58d92d12898f525f774b8
CRs-Fixed: 2631242
2020-03-05 00:19:41 -08:00
nshrivas
8b6b07db0a Release 5.2.0.174J
Release 5.2.0.174J

Change-Id: I4f264f43128d0cf43cfced17d0066bf9142fe84b
CRs-Fixed: 774533
2020-03-04 21:18:44 -08:00
Srinivas Girigowda
8dfd6ad4c6 qcacld-3.0: Add policy attribute to SUBCMD_ENCRYPTION_TEST
According to new changes in kernel 5.2 version onwards, driver has to
provide the policy for a NL command to be verified against while
registering wiphy to the kernel.
To satisfy kernel 5.2 requirement, add policy to following vendor
command as part of this change:
	QCA_NL80211_VENDOR_SUBCMD_ENCRYPTION_TEST

Change-Id: I37836165dc8ff89f7179d5024cc3b1516cacf6e6
CRs-Fixed: 2633303
2020-03-04 21:18:44 -08:00
Mohit Khanna
0fe3ebdd3b qcacld-3.0: Add HIF callback API to get BW level
Expose API in HDD, so HIF can callback to get the current bandwidth
level.

Change-Id: If65533a99e5d30ab66c4be20c8eb13b1bd1f033b
CRs-Fixed: 2618015
2020-03-04 21:18:28 -08:00
Mohit Khanna
26c0017421 qcacld-3.0: Enable HAL module in cinfo
Enable QDF_MODULE_ID_HAL in cinfo as a datapath module

Change-Id: I2d10e657db88e00b85a0f2c97c404578f0f909d4
CRs-Fixed: 2618015
2020-03-04 21:18:14 -08:00
nshrivas
80a7f147f0 Release 5.2.0.174I
Release 5.2.0.174I

Change-Id: Ie29413678175a28efb62b7543bf8965972ac272c
CRs-Fixed: 774533
2020-03-04 19:48:16 -08:00
Sourav Mohapatra
bfa435bccc qcacld-3.0: Pass double pointer to hdd_softap_deregister_sta
The function hdd_softap_deregister_sta takes the sta_info as the
argument and calls hdd_sta_info_detach. In hdd_sta_info_detach, the
memory assigned to the sta_info is being freed. For this memory to be
properly freed and set to NULL, the actual memory location must be
passed to the function; which is currently not happening.

Pass the actual memory location by reference using a double pointer so
that the memory cleanup is proper.

Change-Id: If0f846957df0378ea7a13b76bdf9c6ef562ed90e
CRs-Fixed: 2627296
2020-03-04 19:48:16 -08:00