Commit Graph

14937 Commits

Author SHA1 Message Date
Sourav Mohapatra
05a52ed111 qcacld-3.0: Remove usage of sta_id in get SNR path
Currently driver passes sta_id through out the call for getting the SNR
stats. Although passed, the sta_id is not used anywhere in the call
stack. As part of removing the sta_id usage, this sta_id can also be
removed safely.

Remove the usage of sta_id in get SNR stats path.

Change-Id: I39482d8f6d8e3bd32e940a85d5592dada8f0460b
CRs-Fixed: 2503956
2019-08-09 02:50:11 -07:00
Sourav Mohapatra
24f0ae41f6 qcacld-3.0: Remove unused function hdd_get_peer_idx
Currently the function hdd_get_peer_idx is not being called from
anywhere. As the use of sta_id is being depreceted, the function can be
safely removed.

Clean up the unused function.

Change-Id: I6896d03ad2e8b427147e2259b737836cd3f44ca0
CRs-Fixed: 2484699
2019-08-09 02:50:07 -07:00
nshrivas
8dee2177b9 Release 5.2.0.143A
Release 5.2.0.143A

Change-Id: Ib9db3a1c6259d577ad05d260ca62b5296857048b
CRs-Fixed: 774533
2019-08-08 22:36:23 -07:00
nshrivas
f2a4c8c0c5 Release 5.2.0.143
Release 5.2.0.143

Change-Id: I2122466a7886a73f704b49230ababb28566afc64
CRs-Fixed: 774533
2019-08-08 21:04:28 -07:00
Lin Bai
56386f5a84 qcacld-3.0: Fix memory domain mismatch in skip_acs_timer
When FEATURE_WLAN_AP_AP_ACS_OPTIMIZE enabled, it will allocate
memory in INIT domain (wlan_hdd_startup), and free in ACTIVE
domain (hdd_wlan_exit).

Move to wlan_hdd_start_modules/wlan_hdd_stop_modules to avoid.

Change-Id: I0fd93baa306a136af2faa7af9dcccfb709984ef9
CRs-Fixed: 2505462
2019-08-08 21:04:27 -07:00
nshrivas
26c91a70e7 Release 5.2.0.142Z
Release 5.2.0.142Z

Change-Id: I2a0f17d5afb7787bad4d3c271d4679346acd1765
CRs-Fixed: 774533
2019-08-08 14:22:34 -07:00
Rajeev Kumar Sirasanagandla
7dee7fe7e0 qcacld-3.0: Avoid NULL pointer exception in HDD
If firmware doesn't support 5GHz band then ieee80211_supported_band
structure for HDD_NL80211_BAND_5GHZ is not allocated in wiphy and in
wlan_hdd_update_ht_cap() trying to derefer member-fields of
ieee80211_supported_band[HDD_NL80211_BAND_5GHZ] without NULL check is
causing NULL pointer exception.

To address this, add NULL check for 2GHz and 5GHz band pointers.

Change-Id: I8aa93b9cbe26ce674563505e222f5cb2aa970051
CRs-Fixed: 2503133
2019-08-08 14:22:33 -07:00
nshrivas
e67f4e465b Release 5.2.0.142Y
Release 5.2.0.142Y

Change-Id: I68c2be07759e2fedd67e990711b7ec1f384f35ea
CRs-Fixed: 774533
2019-08-08 11:37:52 -07:00
Jayachandran Sreekumaran
32a0d43f05 qcacld-3.0: Add sdio support for pld_wlan_enable
Add sdio support for pld_wlan_enable to put
the FW in the required mode.

Change-Id: I4ff3648a70b6c9cd4be389562851444258b347e6
CRs-Fixed: 2504554
2019-08-08 11:37:51 -07:00
Jinwei Chen
763f9d726f qcacld-3.0: Disable wlan suspend for monitor mode
Wlan suspend and WOW is not supported in monitor mode, disable them.

Change-Id: I5654cb837d01f78d08ae006040cc4f16cd6b3a36
CRs-Fixed: 2500835
2019-08-08 11:37:47 -07:00
nshrivas
703c4866a0 Release 5.2.0.142X
Release 5.2.0.142X

Change-Id: I23e7cead0ddcf362ebcf1638f9ed1d639453ce98
CRs-Fixed: 774533
2019-08-08 09:52:45 -07:00
hqu
030099b43f qcacld-3.0: Remove operationChannel from csr_roam_profile
Remove operationChannel from structure csr_roam_profile, remove
the code where value assigning to operationChannel take place.

Change-Id: If7cd64d4d7513000181f92faabd6c863341c71f9
CRs-Fixed: 2503043
2019-08-08 09:52:44 -07:00
wadesong
c48ea29e3d qcacld-3.0: Remove channel from struct hdd_mon_set_ch_info
1) Remove channel from struct hdd_mon_set_ch_info. All client
   code will use freq within the same struct from now on.

2) Replace the usage of channel ID(op_chan) with channel
   frequency(op_freq) in function hdd_mon_select_cbmode's
   parameter list.

3) Fix a number of camel cases detected in function
   hdd_select_cbmode.

Change-Id: Ib7c1ee453b34647e983749a713b33017b92103ac
CRs-Fixed: 2504779
2019-08-08 09:52:40 -07:00
nshrivas
e71e2d1381 Release 5.2.0.142W
Release 5.2.0.142W

Change-Id: I4b8b8950c958a19e2572ca7be00044d94e08bd87
CRs-Fixed: 774533
2019-08-08 08:40:19 -07:00
Liangwei Dong
e9793891b9 qcacld-3.0: Remove ChannelList from tCsrChannelInfo
Remove all the code reference of ChannelList.
Use freq_list in new code.

Change-Id: I1972f58f07b451dd52ead5dfcabce258f130f1ca
CRs-Fixed: 2503099
2019-08-08 08:40:07 -07:00
Liangwei Dong
a0bb630b78 qcacld-3.0: Replace ChannelList with freq_list
Replace tCsrChannelInfo->ChannelList by freq_list in:
sme_rrm.c

Change-Id: Ia90947e78b73de7ef87516ca00882bb8451d8afc
CRs-Fixed: 2503103
2019-08-08 08:38:58 -07:00
nshrivas
9dd14d684d Release 5.2.0.142V
Release 5.2.0.142V

Change-Id: I300ac5574502fd05e4557e937168d0fa8db03c7b
CRs-Fixed: 774533
2019-08-07 20:21:25 -07:00
nshrivas
37b7443896 Release 5.2.0.142U
Release 5.2.0.142U

Change-Id: I6ca268b2acf0d706bb95c89af7114a7429024d7b
CRs-Fixed: 774533
2019-08-07 14:30:23 -07:00
Jingxiang Ge
ace2c3c6a4 qcacld-3.0: Move vdev to DFS CAC state if channel is dfs
After got restart channel rsp from fw, vdev state will change
as: ST-RESTART_PROG->ST-CONN_PROG.

In lim_send_sme_ap_channel_switch_resp, if channel is non-dfs,
vdev state will change to up; if dfs channel, later it will
change to DFS CAC when starting cac timer.

Current issue is if there is ap stop after restart channel rsp,
while processing WLAN_VDEV_SM_EV_DOWN, there is no hanler in
ST-CONN_PROG > ST-DISCONN_PROG.

From design perspective, In SAP, ST_CONN_PROG is a dummy state,
ideally, SAP state should change as below without preemption :
	RESTART_PROGRESS->CONN_PROGRESS->UP
	RESTART_PROGRESS->CONN_PROGRESS->DFS_CAC_WAIT

To fix issue, change vdev state to DFS_CAC_WAIT in
lim_send_sme_ap_channel_switch_resp; So WLAN_VDEV_SM_EV_DOWN will
be handled in DFS_CAC_WAIT state.

At the same time, set DFS_CAC_WAIT when starting SAP, and clear
sap_move_to_cac_wait_state in sap state machine.

Change-Id: Iee89521471e456a553f40577da6d1e69aef3b803
CRs-Fixed: 2501339
2019-08-07 14:30:22 -07:00
nshrivas
b704fddad6 Release 5.2.0.142T
Release 5.2.0.142T

Change-Id: I2284eb7069f3d16ae0bb0c89db94142f421fa9a5
CRs-Fixed: 774533
2019-08-07 10:20:48 -07:00
gaurank kathpalia
224c81efd6 qcacld-3.0: Select default channel of SAP in case of failure
Currently the driver choses a default channel for SAP
in case of failures, logic of which is incorrect as
it does not take into account the hw mode, and all
other checks such as SRD, unsafe, DFS etc.
The channel chosen after this maybe not as per
expectation.

Fix is to chose a default channel from the acs channel
list itslef so that the checks of SRD etc. ae honored.

Change-Id: Ife8a6b88938fd566bed92a5bde1cb0fe34a45462
CRs-Fixed: 2476351
2019-08-07 10:20:47 -07:00
nshrivas
e963b9c82b Release 5.2.0.142S
Release 5.2.0.142S

Change-Id: I312987ed009e3cf16b42bda587bb6e886b8024a2
CRs-Fixed: 774533
2019-08-07 08:41:22 -07:00
gaurank kathpalia
2fcec840ce qcacld-3.0: Take a wakelock till CSA complete
Currently the driver sends the CSA IEs in the
beacon every beacon interval, and updates the
CSA IE count in every beacon.

If the wlan gets suspended in between the
updation of CSA IEs, the CSA is delayed
till the next resume, which could lead to
STA kickout event, if there is delay between
the CSA period, and the channel switch time.

Fix is to take a wakelock till CSA is completed
in order to avoid the STA kickout.

Change-Id: Iff03476433c755cbddc7568ffbd24ddb81fd1c90
CRs-Fixed: 2504039
2019-08-07 08:41:21 -07:00
gaurank kathpalia
7665a50dab qcacld-3.0: Extend force 1x1 ini
Currently the driver checks whether the device
supports antenna sharing, and if the AP is added
in the OUI framework, then the driver modifies the
nss value to 1 to avoid sending SMPS to the peer AP.
Now suppose the device does not support Antenna sharing,
but supports DBS and is helium HW, then going to DBS HW
mode would result in peer sending a SMPS frame to the peer
as the helium HW only has two antennas, and one is needed
by each MAC now.

Fix is to add a third param in force 1x1 ini which would
decide the driver should consider the antenna sharing as
mandatory or not.

Change-Id: I3ae00fcbd642c7780952d66ccbf1208335fcb077
CRs-Fixed: 2496831
2019-08-07 08:41:16 -07:00
Bala Venkatesh
58c241c551 qcacld-3.0: Release TDLS del sta serialization command
After sending the wmi_peer_delete command to FW. If there
is a change in channel info of HT cap from connected AP.
Then TDLS peers in lim will be deleted and dph entry will be
freed.
While processing the tdls del sta response from FW
if dph entry is NULL then WLAN_SER_CMD_TDLS_DEL_PEER is
not released and that can lead to active command timeout.

Release the serialization command in case of NULL dph entry.

Change-Id: Ib56806875cc84a0ecb9bcab16e9e0bb9d118efbb
CRs-Fixed: 2503993
2019-08-07 08:41:11 -07:00
nshrivas
6ef2c8e497 Release 5.2.0.142R
Release 5.2.0.142R

Change-Id: Icc6c92da7c4bc10976d62d98131e60c5fefefe9a
CRs-Fixed: 774533
2019-08-07 04:57:49 -07:00
Bala Venkatesh
07546fb480 qcacld-3.0: Check TDLS offchannel is supported or not
Check if the configured tdls offchannel through IOCTL
is supported or not. This is required if firmware
does not support 5G channels or any invalid channels

Change-Id: I49e3b7b758fddf22fbfe1b64dda2e4f47a27cf3b
CRs-Fixed: 2503913
2019-08-07 04:57:48 -07:00
nshrivas
289bcc4f26 Release 5.2.0.142Q
Release 5.2.0.142Q

Change-Id: I905cb485731d40781728a530aa9e1bfdca5ebdf6
CRs-Fixed: 774533
2019-08-07 01:31:08 -07:00
nshrivas
0c0c7a16d1 Release 5.2.0.142P
Release 5.2.0.142P

Change-Id: I74d0fc946ac47072edc2cfd8696538e7fd4a9e43
CRs-Fixed: 774533
2019-08-06 14:24:31 -07:00
Yeshwanth Sriram Guntuka
e631341f12 qcacld-3.0: Update kck len when caching gtk offload req
On wlan suspend, kck sent as part of gtk offload request
is not populated properly since the kck_len is not
updated when caching the gtk request resulting in all
zeroes kck.

Fix is to update kck_len when saving gtk offload
request.

Change-Id: I9e4430565a04cff6da7f06d23a9542a2f53568b0
CRs-Fixed: 2502131
2019-08-06 14:24:30 -07:00
nshrivas
9358c67a57 Release 5.2.0.142O
Release 5.2.0.142O

Change-Id: I67b8373c911907c69ce3f49448534ea0806cf360
CRs-Fixed: 774533
2019-08-06 10:16:26 -07:00
gaurank kathpalia
c3587d0340 qcacld-3.0: Filter the blacklist BSSID in scan for ssid
Currently the driver sends a unicast probe request
to the BSSID which is blacklisted, which in turns
violate the SPEC, as the BSSID maybe rejected as
part of OCE assoc reject.

Fix is to check if the BSSID is blacklisted, don't
go for unicast probes.

Change-Id: I14f283d7425d40706cef29db38b48333ee9a7fff
CRs-Fixed: 2500273
2019-08-06 10:16:26 -07:00
gaurank kathpalia
b2f7206d97 qcacld-3.0: Avoid scan if no channel found in ACS
If no channel is found suitable for ACS, don't scan
all the channels as done currently by the driver, and
send ACS fail code to the userspace as SAP cannot be
started on the band specified by the use.

Change-Id: I18edff6aaf384384841487d06474fd5fba28fc2f
CRs-Fixed: 2476347
2019-08-06 10:16:22 -07:00
Sravan Kumar Kairam
777a7dde6e qcacld-3.0: Start bus bw computer timer for NAN
Currently for NDI interface bus bandwidth timer is not
started. As part of this change start the timer when new
ndp peer is created and stop the timer when last ndp peer
connected is deleted.

Change-Id: Ia710ec9872636ee3cefa30815692c2f8c9816687
CRs-Fixed: 2499548
2019-08-06 10:16:14 -07:00
nshrivas
13e6c51fbc Release 5.2.0.142N
Release 5.2.0.142N

Change-Id: I9f8df2987cc104a6ff82e3d55da5ac9f9c8de501
CRs-Fixed: 774533
2019-08-06 05:26:20 -07:00
Subrat Dash
ab9a7593af qcacld-3.0: Fix compilation issue with FW_THERMAL_THROTTLE_SUPPORT enabled
Fix the compilation issues passing proper parameter to the function
wmi_unified_thermal_mitigation_param_cmd_send.

CRs-Fixed: 2501080
Change-Id: I9ce0038ef2844536612f0bf71314dbc214f354d9
2019-08-06 05:26:20 -07:00
nshrivas
ea05bae341 Release 5.2.0.142M
Release 5.2.0.142M

Change-Id: Ife494266790ae10e1d80797a7719f1418fd52452
CRs-Fixed: 774533
2019-08-06 04:08:46 -07:00
nshrivas
f1de82f3b8 Release 5.2.0.142L
Release 5.2.0.142L

Change-Id: Ic015dd251df09cec2ae9bfd7d1154bfae172e183
CRs-Fixed: 774533
2019-08-06 02:48:46 -07:00
Liangwei Dong
4d8c7629b2 qcacld-3.0: Replace ChannelList with freq_list
Replace tCsrChannelInfo->ChannelList by freq_list in:
sap_module.c sme_api.c csr_api_roam.c csr_api_scan.c
csr_neighbor_roam.c

Change-Id: I6c8d2991242f2215fc7cc58220445025bd32fcdb
CRs-Fixed: 2501872
2019-08-06 02:48:45 -07:00
Bala Venkatesh
5d0fe41a93 qcacld-3.0: Do not allow get_tx_power for all interfaces
Currently, get_tx_power is given for all interfaces but FW may
not respond for interfaces like p2p device mode or NAN.
Allow cfg80211_get_tx_power only for STA/P2P_client associated
state and SAP/GO started cases. In rest all cases do not give
this command to FW.

Change-Id: I01ff4f11c35ca00183002d2d1c2c481f3bea77c6
CRs-Fixed: 2502905
2019-08-06 02:48:41 -07:00
nshrivas
596909df06 Release 5.2.0.142K
Release 5.2.0.142K

Change-Id: Iee68bb0939dbcc9b66e8a545bfd6386e6f7dfecb
CRs-Fixed: 774533
2019-08-06 01:25:40 -07:00
nshrivas
74e6092646 Release 5.2.0.142J
Release 5.2.0.142J

Change-Id: I469343209a5b28ae257f495919cc9820d06d7105
CRs-Fixed: 774533
2019-08-05 16:45:49 -07:00
Abhishek Ambure
cbef14404b qcacld-3.0: Refactor vdev delete code
Refactor vdev delete code for target_if conversion. Remove legacy
vdev delete code.

Change-Id: Ia95faa3a8eb561e19d439046a25bd7e452b98fb2
CRs-Fixed: 2471947
2019-08-05 16:45:48 -07:00
nshrivas
8e062805f3 Release 5.2.0.142I
Release 5.2.0.142I

Change-Id: I593d2a462c97f4e82245fa824b6f25551be0ea63
CRs-Fixed: 774533
2019-08-05 15:31:58 -07:00
Yue Ma
1c1d0f75d6 qcacld-3.0: Do sync runtime resume/suspend for get station stats API
Get station stats API will be periodically called from upper layer so
in order to save power, instead of waiting for inactive timer to fire,
suspend right after everything is done.

Change-Id: I452ac3631d6799ffdcb1d09ff71afb2730b92b59
CRs-fixed: 2502391
2019-08-05 15:31:57 -07:00
nshrivas
8b949209f8 Release 5.2.0.142H
Release 5.2.0.142H

Change-Id: Ifaedd3fe68a93f6d2dd172fc13f24fd24d02c7d2
CRs-Fixed: 774533
2019-08-05 10:55:41 -07:00
gaurank kathpalia
cdc3b574d1 qcacld-3.0: Modify NUD tracking ini for disconnect/roam
Modify the nud tracking ini so that the driver
does a disconnection/roaming after NUD failure
is detected.
According to the ini specified, the driver would
either disconnect or do roaming.

Change-Id: I6af1c819322a702605d92ada735298a124127533
CRs-Fixed: 2497153
2019-08-05 10:55:40 -07:00
tinlin
7db7a5d167 qcacld-3.0: Set peer phymode not higher than sap's
Associating peer's phymode is not allowed to be highter
then sap's. If it is, set the peer phymode equal to sap
phymode.

Change-Id: Ia8152ce27fb8ddf2bbff5139d3b8d89c811d7ed0
CRs-Fixed: 2500383
2019-08-05 10:55:36 -07:00
wadesong
21d7effc7f qcacld-3.0: Populate frequency list
Do more frequency list population in a number of functions
to make sure the resulting tCsrChannelInfo structures
have the right channel frequency info.

Meanwhile, enlarge the buffer allocated for freq_list in
csr_roam_copy_profile to make sure all channel frequencies
can be replicated.

Change-Id: Ia8b90581211d657851e1d8fc2556dcb633c8001a
CRs-Fixed: 2500236
2019-08-05 10:55:32 -07:00
Abhishek Ambure
7470976006 qcacld-3.0: Refactor vdev create code
Refactor vdev create code to target_if common code. Remove legacy
code for vdev create.

Change-Id: I57caf0c5fa2da7b6ba640a9d2edb72363959c585
CRs-Fixed: 2460786
2019-08-05 10:55:23 -07:00
nshrivas
2209902530 Release 5.2.0.142G
Release 5.2.0.142G

Change-Id: I223cd51d04f5e66fefae14877bb3b42ba49ce1bf
CRs-Fixed: 774533
2019-08-05 09:31:37 -07:00
Abhishek Singh
8586573201 qcacld-3.0: Handle bss peer add failure in vdev state machine
In case bss peer add failure vdev state machine is in
substate  WLAN_VDEV_SS_START_START_PROGRESS and thus
WLAN_VDEV_SM_EV_CONNECTION_FAIL will not be handled and thus vdev
SM will not move to init state and pe session is not deleted.

This lead to vdev ref leak for the ref taken by pe create session.

Fix this by sending WLAN_VDEV_SM_EV_START_REQ_FAIL event when
vdev SM is in WLAN_VDEV_SS_START_START_PROGRESS state and continue
cleanup.

Change-Id: I4c559333a6bd018e3382f9781883acf314434cf2
CRs-Fixed: 2502817
2019-08-05 09:31:37 -07:00
nshrivas
1d2fbeca0c Release 5.2.0.142F
Release 5.2.0.142F

Change-Id: Ib7b8bd85057d3eea9a631982a1734c4d191c020f
CRs-Fixed: 774533
2019-08-05 07:49:51 -07:00
nshrivas
0248c92a83 Release 5.2.0.142E
Release 5.2.0.142E

Change-Id: I6436b4e6941fc64b39425f217bc1044daa3680d6
CRs-Fixed: 774533
2019-08-05 02:57:20 -07:00
Ashish Kumar Dhanotiya
017e502efa qcacld-3.0: Add support to get last available vdev info
FW sends vdev stats on vdev down, current host
implementation does not process this event as host is
only processing the stats events for which stats are
requested.
On vdev down FW sends the last available vdev stats and
based on that host updates it's RSSI on disconnect.
With CP stats infrastructure host is not processing
this event and is not updating rssi on disconnect.

To resolve this issue, add support to get last available
vdev stats from cp stats component with the help of a
callback registration.

Change-Id: If0741281140509624f6fdda4a270d99e2f58b61a
CRs-Fixed: 2493965
2019-08-05 02:57:19 -07:00
Ashish Kumar Dhanotiya
b0f0364ca5 qcacld-3.0: Add frequency in struct sSirMacChanInfo
As part of 6GHz regulatory update, channel numbers are
getting updated to corresponding frequencies, in this
update add frequency element in struct sSirMacChanInfo.

Change-Id: I1a18111a2b073164677b32fb6febc947df043bf2
CRs-Fixed: 2500361
2019-08-05 02:57:14 -07:00
nshrivas
74c6ef5913 Release 5.2.0.142D
Release 5.2.0.142D

Change-Id: I16a4156f69431600cdc2a8045126f8fc0bda811c
CRs-Fixed: 774533
2019-08-04 06:23:10 -07:00
guangde
963710d6e8 qcacld-3.0: enable legacy coex feature
Because newest firmware codes already been changed, the previous
coex configure command are invalid. Firmware need host driver
to enable WMI_SERVICE_THREE_WAY_COEX_CONFIG_LEGACY service during
wlan init. Add a new parameter "gThreeWayCoexConfigLegacyEnable" to
initial config file. If this parameter value is zero,set coex
priorities command will return error.

Change-Id: Ief1617e2ba5363e276c55135198613a0e54b71d5
CRs-Fixed: 2482734
2019-08-04 06:23:09 -07:00
nshrivas
a17a11619e Release 5.2.0.142C
Release 5.2.0.142C

Change-Id: Ie3868fd70a0c776835f60a128921b67c9075ea80
CRs-Fixed: 774533
2019-08-02 03:13:41 -07:00
Bala Venkatesh
961c9b8cba qcacld-3.0: Remove bss peer in case of vdev stop response failure
In case of failure in vdev stop response from FW, Along with
triggering SSR call the del_bss_response so that FW can clear
the bss peer.

Change-Id: Ibbf43f15796a9a13f922091d49fa6a22838aeaaf
CRs-Fixed: 2498497
2019-08-02 03:13:41 -07:00
nshrivas
df2870f0db Release 5.2.0.142B
Release 5.2.0.142B

Change-Id: I0ca2fa3cb475aef3784e7bf4c3c73e6efad8e707
CRs-Fixed: 774533
2019-08-02 02:04:34 -07:00
Will Huang
cac7e09e7d qcacld-3.0: Replace channel ID with frequency (bss_description 4)
Remove channelId from struct bss_description, and remove the
code where value assignment to channelId take place.

Change-Id: If37aca5f3e2211a73d546444aad2e5f9a4bada0a
CRs-Fixed: 2497438
2019-08-02 02:04:33 -07:00
nshrivas
e8507828be Release 5.2.0.142A
Release 5.2.0.142A

Change-Id: I28539a754e1b9e187a0aea20d1de14a96eadef35
CRs-Fixed: 774533
2019-08-02 00:43:41 -07:00
Paul Zhang
9d117c8b85 qcacld-3.0: Replace channel with channel frequency
Replace pre_cac_chan with pre_cac_freq and mon_chan
with mon_chan_freq in struct hdd_adapter.

Change-Id: I413ff83c244e1ebb7deaa2dec52df76b4b957f53
CRs-Fixed: 2496812
2019-08-02 00:43:41 -07:00
hqu
5af7254cec qcacld-3.0: Remove operationChannel from tagCsrRoamConnectedProfile
Remove operationChannel from structure tagCsrRoamConnectedProfile,
remove the code where value assigning to operationChannel take place.

Change-Id: If6c034e39c63fd78e6f08ff3daa85e0432438cff
CRs-Fixed: 2499775
2019-08-02 00:43:36 -07:00
Paul Zhang
427962da57 qcacld-3.0: Replace chan with chan_freq
Replace chan with chan_freq in hdd_chan_change_params.

Change-Id: I6e3b4de0e1322cb35500aa86fa4119c60faee36e
CRs-Fixed: 2496790
2019-08-02 00:43:32 -07:00
nshrivas
d992df85fe Release 5.2.0.142
Release 5.2.0.142

Change-Id: I9a9dc46d68cd863ea0d0553be4db61736cd382c7
CRs-Fixed: 774533
2019-08-01 16:24:05 -07:00
nshrivas
b13304f06f Release 5.2.0.141Z
Release 5.2.0.141Z

Change-Id: I59ffc5c3ba675dba4cfb18d5301f1c76c25fd3d4
CRs-Fixed: 774533
2019-08-01 06:47:43 -07:00
Bala Venkatesh
d6c82e59d9 qcacld-3.0: Disable tx beam forming for NDI vdev
Do not set tx beam forming related ie's in ht cap, vht cap,
he cap when set IE command is sent to FW for NDI vdev.

Change-Id: If629eedeab5d35b1799c6eb5ee7d71726ada262a
CRs-Fixed: 2499132
2019-08-01 06:47:43 -07:00
nshrivas
2ff8286039 Release 5.2.0.141Y
Release 5.2.0.141Y

Change-Id: I759752b64a59f8bccb5a5c9c2db6708c19f18cbc
CRs-Fixed: 774533
2019-08-01 02:54:38 -07:00
bings
6b7c21b4b6 qcacld-3.0: Flush scan block work when stop adapter
adapter->scan_block_work is workqueue, which may be scheduled after
driver is removed.
To fix this issue, flush the workqueue and clean up blocked scan
request.

Change-Id: I0e9cb1b3f2fdceb25ad3566766000b78e1bf0ca1
CRs-Fixed: 2500369
2019-08-01 02:54:37 -07:00
nshrivas
c210c9e16c Release 5.2.0.141X
Release 5.2.0.141X

Change-Id: I56d9b4ea06581671e12b6f34744a17a5b0272f4e
CRs-Fixed: 774533
2019-08-01 00:02:18 -07:00
Nirav Shah
a43f6dc3cf qcacld-3.0: Featurize DHCP indication for SAP
Featurize DHCP indication for SAP and disable it
for QCN7605 as this feature is broken for HL
Data Path.

Change-Id: If1db649131d887a2aab18461187403b4b9a2c5b4
CRs-Fixed: 2496032
2019-08-01 00:02:17 -07:00
nshrivas
9e56544f67 Release 5.2.0.141W
Release 5.2.0.141W

Change-Id: Id12f04296b8f2f88149b6fd912c405f68e7b68c4
CRs-Fixed: 774533
2019-07-31 20:51:05 -07:00
bings
186fdd20c3 qcacld-3.0: Drop assoc req if SAP is not UP
If SAP is not up, it is meaningless to handle assoc req.

If assoc req is handled, ref peer may be created without deleted in
DFS CAC state, which causes FW does not work.

Change-Id: Ia489fa8cfb4406e782fc240c553f5e3074982380
CRs-Fixed: 2487946
2019-07-31 20:51:04 -07:00
nshrivas
6da1e87ae0 Release 5.2.0.141V
Release 5.2.0.141V

Change-Id: Ic3729bf257cfb38b56a1e323d10734b92c34f912
CRs-Fixed: 774533
2019-07-31 17:09:24 -07:00
Srinivas Dasari
2239790ebb qcacld-3.0: Append vendor specific IEs received to assoc request
wpa_supplicant/framework sends different vendor specific IEs in
connect request. Currently driver is parsing the IEs and appending
specific IEs to the assoc request frame. But all vendor specific
IEs are supposed to be sent in the assoc request. Extract all vendor
specific IEs and append at the end of the frame.
MBO IEs are expected to be present at the end of the frame.
So append rest of the vendor IEs just before MBO IE.

Change-Id: I3d49c72a31d142ef3b14b439af2ae4cd8be059ea
CRs-Fixed: 2498976
2019-07-31 17:09:24 -07:00
nshrivas
1515d1f584 Release 5.2.0.141U
Release 5.2.0.141U

Change-Id: I4548638eecc9e8ed60537705967b0314239fa37f
CRs-Fixed: 774533
2019-07-31 13:34:09 -07:00
Srinivas Dasari
a5935ee910 qcacld-3.0: lim_strip_ie to extract multiple IEs of given type
Currently lim_strip_ie strips the matched IEs from given buffer
but return only last matched IE. All the previous IEs matched to
the given type are lost. Fix this to strip and extract all IEs
matched to given type.
This is to address the case when multiple vendor specific IEs are
given from userspace. Current implementation returns only
last vendor specific IE. This is to fix the same

Change-Id: I64ca5d2e679b8457dc2cbaf7b4b12dc0a840260d
CRs-Fixed: 2499592
2019-07-31 13:34:08 -07:00
Abhinav Kumar
42622bc171 qcacld-3.0: Avoid kernel print while handling FILS discovery frame
Currently in case of SAP mode, Host gets FILS discovery frame
in every 20TU for the first 3 mins. These frames are not required
in host and will be dropped. But Host has pe_warn print in order
to indicate this action frame is Unhandled.

Fix is to change level of log (warning to debug) in order
to avoid spamming in kernel message buffer.

Change-Id: I3ec585a37b190041ef2f88a03e201aa7a5ff7938
CRs-Fixed: 2499907
2019-07-31 13:34:04 -07:00
nshrivas
f0bcf5471c Release 5.2.0.141T
Release 5.2.0.141T

Change-Id: I01c995a121a18851061f11f641b10be630f9857e
CRs-Fixed: 774533
2019-07-31 12:18:08 -07:00
Abhinav Kumar
8ed7afffc2 qcacld-3.0: Send BTM config and 11k offload for all roam reason
Issue is : In case of STA + STA, Host sends BTM config enable on
both STA. This results assert in FW as at a time FW supports BTM
only on one vdev.

Following are the fix:
1. Send 11k offload and BTM config enable to fw irrespective of
roam reason. Enable of both while RSO start and disable of both
while RSO stop should be symmetric.

2. Currently, Host sends RSO_UPDATE_CONFIG for blacklisting case
if the vdev is in connected state irrespective of RSO start is
sent or not. Added check to make sure RSO_UPDATE_CONFIG should
not go if driver_disabled_roaming flag set.

Change-Id: Ib92089906a2e1690ec6181ac184bc008ccfbc928
CRs-Fixed: 2497813
2019-07-31 12:18:08 -07:00
nshrivas
5d58df209b Release 5.2.0.141S
Release 5.2.0.141S

Change-Id: I3a6dcd5362bef61fd06f89894298c5ea76317a40
CRs-Fixed: 774533
2019-07-30 20:21:06 -07:00
Vignesh Viswanathan
2f7701a13e qcacld-3.0: Add separate FTM Coldboot Calibration Mode
Add separate Coldboot calibration mode (10) for Coldboot Calibration
done during FTM Mode in PLD.

Change-Id: I7e4bb5209d87613bb49a0a958d8e691c73fdcfe1
CRs-Fixed: 2499766
2019-07-30 20:21:05 -07:00
nshrivas
03bab0399a Release 5.2.0.141R
Release 5.2.0.141R

Change-Id: I859a251de7c373d758efa8c8e3fdf9eed9fc4b1d
CRs-Fixed: 774533
2019-07-30 16:22:53 -07:00
wadesong
24c869aa97 qcacld-3.0: Replace channel list with freq list
1) freq_list value population:

   Allocate memory for freq_list within tagCsrChannelInfo
   whenever ChannelList is allocated for the same struct.

   Populate channel frequencies into freq_list whenever
   ChannelList is populated for the same struct.

   Free the memory used by freq_list whenever ChannelList's
   memory is to be freed for the same struct.

2) Special treatment for sme_rrm_send_scan_result:

   To ease the freq_list population within function
   sme_rrm_send_scan_result, a parameter(freq_list) has
   been added into the parameter list of it.

   Meanwhile, all callers of the same function have been
   modified to pass freq_list to it.

3) Fix a number of camel cases detected by checkpatch.

Change-Id: I732b084d3e1edfc4f26e7ed44be1c6e826be8602
CRs-Fixed: 2496716
2019-07-30 16:22:52 -07:00
wadesong
ca97809547 qcacld-3.0: Remove unused fields in bss_description
Remove some unused fields in struct bss_description.

Also remove the unnecessary padding fields within
the same struct, as compiler will do automatic
padding for us.

Change-Id: Id754391e20e4dce6261a8df54b12ccdcf31ba5c9
CRs-Fixed: 2497872
2019-07-30 16:22:48 -07:00
nshrivas
2f530b44ca Release 5.2.0.141Q
Release 5.2.0.141Q

Change-Id: Ibbabbe34ec1409dd0a01c0b91ae487802fd7786f
CRs-Fixed: 774533
2019-07-30 10:55:41 -07:00
Arun Kumar Khandavalli
6ba1569220 Revert "qcacld-3.0: Create lim session for monitor mode for legacy targets"
The change 2812433 needs revert it got merged with still some
pending comments.

Change-Id: I4555d60bf0c8cea1b3a812063ee24956b07c0d8b
CRs-Fixed: 2499426
2019-07-30 10:55:40 -07:00
nshrivas
9a93483f83 Release 5.2.0.141P
Release 5.2.0.141P

Change-Id: I8601e338e0c252a63739a6570c6cd2a5ffa26c06
CRs-Fixed: 774533
2019-07-30 09:11:36 -07:00
bings
39e70dbcbe qcacld-3.0: Initialize local variable old_credit before using it
In some platform, it reports error "old_credit is used uninitialized".
Initialize old_credit before using it.

Change-Id: I06351bba0abdfc5efb32406d1d245f8d8c658684
CRs-Fixed: 2495209
2019-07-30 09:11:36 -07:00
Sriram Madhvapathi
ecb0bcde59 qcacld-3.0: Add sdio abstraction layer support for QCN7605
The SDIO HIF for QCN7605 requires to use the SDIO Abstraction Layer.
Used the SDIO CNSS2 PLD layer api's to interface with SDIO AL

Change-Id: I839a580941e4651e3dcff4f87cda26cc567687fc
CRs-Fixed: 2275631
2019-07-30 09:11:31 -07:00
nshrivas
a519b8be94 Release 5.2.0.141O
Release 5.2.0.141O

Change-Id: I24701865c157f80e0e110df481904cef18c1dc00
CRs-Fixed: 774533
2019-07-30 07:58:06 -07:00
nshrivas
46cabec27c Release 5.2.0.141N
Release 5.2.0.141N

Change-Id: Ib13a7c6b36eb45676ca0452ad98e71fc188bae00
CRs-Fixed: 774533
2019-07-30 02:43:47 -07:00
Alok Kumar
d6de641aa6 qcacld-3.0: Remove work create for peer_unmap_timer_handler
This is revert of Change-Id: I9a9554ef0aa9288bf5abe22cd2513d8cc41c29d4

When peer_unmap_timer_handler runs for multiple peers, same work
is INITed for multiple peers as this work is not per peer based.
This will update the work param i.e. peer gets updated each time,
which leads in deletion of wrong peer.

Remove the work INIT and scheduling of "peer_unmap_timer_work_function"
as cds_trigger_recover() has already taken care of atomic context.

Change-Id: Ida0a50f27cfe4c08763b359dab51c82e757ec100
CRs-Fixed: 2498498
2019-07-30 02:43:47 -07:00
nshrivas
c04843276d Release 5.2.0.141M
Release 5.2.0.141M

Change-Id: I72ac1424ac92d502ebd96b7b07f47b55ae1e669f
CRs-Fixed: 774533
2019-07-29 20:10:58 -07:00
Manikandan Mohan
4e66c9a73a qcacld-3.0: Move NAN cfg params init to PSOC open
NAN config param initialization from CFG component is done
during PSOC object created notification. But as per component
design it must be done at psoc open to avoid CFG component
not initialized case. Thus update nan component to reorganize
NAN cfg params init.

Change-Id: I9636b527b796202e55a57c28d604795a705de026
CRs-fixed: 2489286
2019-07-29 20:10:58 -07:00
nshrivas
2fa572f8ff Release 5.2.0.141L
Release 5.2.0.141L

Change-Id: I62e3203b1516f470121ab8ef82f071a1dcce1ad4
CRs-Fixed: 774533
2019-07-29 13:46:43 -07:00
wadesong
59e727ce43 qcacld-3.0: Add channel frequency into struct hdd_mon_set_ch_info
Add channel frequency(freq) into struct hdd_mon_set_ch_info and
populate its value where channel in the same structure is
populated.

Remove a few camel cases detected by checkpatch.

Change-Id: I5f0d64a88c054476739bc06887bffd37238b10fc
CRs-Fixed: 2496707
2019-07-29 13:46:42 -07:00
nshrivas
5affbce271 Release 5.2.0.141K
Release 5.2.0.141K

Change-Id: I7e47089d760368190922e337ef01e3a23cb61441
CRs-Fixed: 774533
2019-07-29 11:23:07 -07:00
Arun Kumar Khandavalli
88709de4cb qcacld-3.0: Create lim session for monitor mode for legacy targets
For the latest chipsets because of architecture change the
lim session for monitor mode is not required but for the
older chipsets using the mainline the lim session has to be created.
If the session is not created the channel setting to capture
the packets on the monitor interface fails.

Create the monitor session in lim for older targets.

Change-Id: Ide44201e91c2d92cddff66f563898015f9e28ca7
CRs-Fixed: 2498775
2019-07-29 11:23:06 -07:00
Ashish Kumar Dhanotiya
64b3fa9645 qcacld-3.0: Fix memory leak in driver dump
Currently when driver gets a command to dump the
driver info, it allocates the memory and retrieves
the information in that allocated memory. Maximum data
that can be copied to user space buffer is equal to
one PAGE_SIZE. In the command driver gets the size of
the data which user space wants to read, minimum of the
user space requested size or one PAGE_SIZE of the data
is copied to user space buffer and current position of
the driver buffer till which the data is copied is
updated to user space is also updated.

Driver copies the retrieved information to the user
space buffer as explained above and updates the position
pointer to the user space. In the next request driver
expects from user space to request the remaining data
from the updated position in last request, once all the
data is copied to user space, driver frees internally
allocated memory.

In case if driver does not get the request to read
remaining data after first request, it does not free
the memory. Current handling of this memory is done
in init domain after stop modules, but since this
memory is allocated in active domain, driver should free
the memory in active domain.
Since with current implementation memory allocated in
active domain is not freed in active domain, memleak is
getting detected.

To resolve above issue, move mem cleanup logic for
driver dump info command from init domain to active domain in stop
modules.

Change-Id: Idb4f35f0a599ad55eebe13348b68562fa401fd7e
CRs-Fixed: 2489877
2019-07-29 11:23:03 -07:00
nshrivas
9ec20d3e85 Release 5.2.0.141J
Release 5.2.0.141J

Change-Id: I20f4a332cf2286164f89c426a241872baa1ab5c4
CRs-Fixed: 774533
2019-07-29 09:55:32 -07:00
hqu
ed450ee3ec qcacld-3.0: Replace operationChannel for tagCsrRoamConnectedProfile
Replace operationChannel with op_freq for tagCsrRoamConnectedProfile
in files:
csr_api_roam.c
csr_api_scan.c
csr_neighbor_roam.c

Change-Id: Ibb8df79ed7ed4c837e569a7e320a705bbcf522e4
CRs-Fixed: 2497121
2019-07-29 09:55:32 -07:00
hqu
ea4d062c37 qcacld-3.0: Replace operationChannel for tagCsrRoamConnectedProfile
Replace operationChannel with op_freq for tagCsrRoamConnectedProfile
in files:
sme_api.c
csr_util.c
sme_qos.c
wlan_hdd_assoc.c

Change-Id: I299faea16b4ef2f058f1e9d1d5840b6b849ac95a
CRs-Fixed: 2497676
2019-07-29 09:55:28 -07:00
Min Liu
00956e8408 qcacld-3.0: Replace channel with freq in hdd_context
Replacing channel with freq in the following structures:

hdd_context: last_acs_channel_list -> last_acs_freq_list
sap_context: channelList -> freq_list
sap_acs_scan_complete_event: channellist -> freq_list

Change-Id: If04ba42831b5134952e0d71a18b207d0a6f3c5b2
CRs-Fixed: 2497615
2019-07-29 09:55:25 -07:00
nshrivas
81a5f427b2 Release 5.2.0.141I
Release 5.2.0.141I

Change-Id: I5889460896e2082499f7c02414ba68c6f5a67f33
CRs-Fixed: 774533
2019-07-29 06:29:33 -07:00
nshrivas
955b9dcc57 Release 5.2.0.141H
Release 5.2.0.141H

Change-Id: I8f1a7d4c8b6b59e5bdad4c7f0920665a0dba5255
CRs-Fixed: 774533
2019-07-28 23:45:53 -07:00
Wu Gao
e73c388139 qcacld-3.0: Enable log of direct buffer rx and spectral component
Set default log level mask for direct buffer rx and spectral comonent.

Change-Id: Idc74b0ec194954e08cce286a92e8b7a16d944178
CRs-Fixed: 2495231
2019-07-28 23:45:52 -07:00
nshrivas
039ec36e8d Release 5.2.0.141G
Release 5.2.0.141G

Change-Id: If4b77a6ed2bbebf071ace53216a1004a6636f50a
CRs-Fixed: 774533
2019-07-27 18:21:18 -07:00
nshrivas
79f37e4573 Release 5.2.0.141F
Release 5.2.0.141F

Change-Id: I038b8592123cf95a9340bf36b7ba1deaeb875a54
CRs-Fixed: 774533
2019-07-27 13:42:14 -07:00
hqu
28f68df635 qcacld-3.0: Remove void pointer usage for part of DP code
Add code to use cdp_vdev instead of void pointer for
txrx_vdev and ol_tx_data.

Change-Id: I3d3b7cc8012981a7c883c8113d88fa387711d41e
CRs-Fixed: 2483388
2019-07-27 13:42:14 -07:00
nshrivas
ef4989b455 Release 5.2.0.141E
Release 5.2.0.141E

Change-Id: I4202f89d761dd28919af864fa88fb70046e089e0
CRs-Fixed: 774533
2019-07-27 09:53:18 -07:00
nshrivas
293b452619 Release 5.2.0.141D
Release 5.2.0.141D

Change-Id: I0b99d1473d8759f60c17d88f081a49f75715e36d
CRs-Fixed: 774533
2019-07-26 21:21:24 -07:00
Jeff Johnson
8e9b88529a qcacld-3.0: Remove obsolete bExplicitCfg bitmap
The bExplicitCfg bitmap in struct hdd_config was originally used to
track which INI items had been explicitly configured from the INI
file. But now that the INI processing is distributed this bitmap is no
longer used, so remove it.

Change-Id: I101ffa82b3309209cdc2eea954d1467b68b6138d
CRs-Fixed: 2496393
2019-07-26 21:21:19 -07:00
nshrivas
006aac1f44 Release 5.2.0.141C
Release 5.2.0.141C

Change-Id: I74f05c17a9845e40d6187e1fb8e8d7c833984a85
CRs-Fixed: 774533
2019-07-26 20:10:00 -07:00
nshrivas
d8b0be110b Release 5.2.0.141B
Release 5.2.0.141B

Change-Id: I20a50ed6412c2ff54eea3baa40ff318f888fd30d
CRs-Fixed: 774533
2019-07-26 18:21:47 -07:00
nshrivas
0cc5aa05e9 Release 5.2.0.141A
Release 5.2.0.141A

Change-Id: I8b3b71380e8e8f2b9ed0765a4fbc30256f6041ea
CRs-Fixed: 774533
2019-07-26 17:03:43 -07:00
Varuneshwar Petlozu
dbe255ce1e qcacld-3.0: Stop the psoc idle timer during the con mode change
During con mode change the driver will perform pld idle shutdown
and restart and if the interface change timer is running which
results in duplicate of idle stop queueing.

To resolve this, add psoc idle timer stop during the con mode change.

Change-Id: I7befefd2cb996d6b3e0b4ee92ecb15e615d33e30
CRs-Fixed: 2491208
2019-07-26 17:03:43 -07:00
gaurank kathpalia
e8369890b1 qcacld-3.0: Fill primary and secondary channel in case of ACS fail
Currently the driver does not update the ACS primary channel,
and secondary channel (in case of 40, 80MHZ) in scan fail
cases or all the channels in the particular band for which ACS came
were unsafe, SRD, DFS, indoor etc., which leads to
SAP bringup fail.

Fix is to update the primary, secondary channels in case of
scan, or select channel fail.

Change-Id: I66ce390f89bf69ee0695526fccbd2d412e0edf87
CRs-Fixed: 2450028
2019-07-26 17:03:39 -07:00
nshrivas
52bce9bbbe Release 5.2.0.141
Release 5.2.0.141

Change-Id: Ia57987ce0baa6aea6af2074949075b2b68b53c49
CRs-Fixed: 774533
2019-07-26 15:46:29 -07:00
Wu Gao
492f1ad990 qcacld-3.0: Attach direct buffer rx component
Attach direct buffer rx component when get FW ready event.

Change-Id: Ia0cc03bf201d6b6d7864bf044c631174b254d557
CRs-Fixed: 2495238
2019-07-26 15:46:28 -07:00
nshrivas
60e0cc33ae Release 5.2.0.140Z
Release 5.2.0.140Z

Change-Id: Ic16a7dd2eec805600d7488bb04bf23e596a42710
CRs-Fixed: 774533
2019-07-26 12:15:59 -07:00
hqu
5b714ef5f5 qcacld-3.0: Replace operationChannel with op_freq for csr_roam_profile
Replace operationChannel with op_freq for csr_roam_profile in all files.

Change-Id: I7ad8a6b40a9d0b65b79518200ad1394f19f6d5a5
CRs-Fixed: 2495331
2019-07-26 12:15:58 -07:00
nshrivas
15f071a531 Release 5.2.0.140Y
Release 5.2.0.140Y

Change-Id: I0bcd983d415087b0759dcc921bf2c44396d99822
CRs-Fixed: 774533
2019-07-26 10:46:39 -07:00
Jingxiang Ge
ce7c547b92 qcacld-3.0: Replace channel with freq in hdd_connection_info
Replace channel with freq in hdd_connection_info

Change-Id: I0831e9cdc5cf39c7cdd6b35928fac23e4f582539
CRs-Fixed: 2495115
2019-07-26 10:46:38 -07:00
nshrivas
62ec5a7017 Release 5.2.0.140X
Release 5.2.0.140X

Change-Id: Ib9c87fa5e2cdf4608e1c2a3b2b672d95ed89470a
CRs-Fixed: 774533
2019-07-26 06:12:21 -07:00
Jianmin Zhu
5ce64f48cd qcacld-3.0: Replace channel list with freq list
Add freq_list in tagCsrChannelInfo to replace ChannelList
Add APIs to translate between channel list and freq list

Change-Id: I2f086d9371e2ec928bbb47aa2be91d65a206f4d6
CRs-Fixed: 2492624
2019-07-26 06:12:21 -07:00
nshrivas
f0622230dc Release 5.2.0.140W
Release 5.2.0.140W

Change-Id: I345cbfc3b2d517802ab9b6aa1b768ec095f4e68b
CRs-Fixed: 774533
2019-07-26 03:02:16 -07:00
Bala Venkatesh
79de9b5f88 qcacld-3.0: Allow probe responses in extenal scan
Currently, only beacons are transmitted to upper layers
in case of external scan. Allow probe responses as well
in external scan.

Change-Id: I23860c761eab82073821274d2c3125487e3abde4
CRs-Fixed: 2494767
2019-07-26 03:02:15 -07:00
Lin Bai
6b0efbae45 qcacld-3.0: vdev_id misused when handling DEAUTH ind
When STA receives DEAUTH ind event from target, vdev_id will be
mis-used as PE session ID when invoking lim_tear_down_link_with_ap.

Also enhanced related log for more useful info.

Change-Id: I755e0e170c36205ef20a21955546cc36437c1be4
CRs-Fixed: 2491669
2019-07-26 03:02:11 -07:00
nshrivas
9664a3d902 Release 5.2.0.140V
Release 5.2.0.140V

Change-Id: Ib7863d0e0b2948b3c5d61386513440c86db9f1e6
CRs-Fixed: 774533
2019-07-25 05:09:13 -07:00
Min Liu
f97d28b552 qcacld-3.0: Fix vdev_id when resetting APF packet filter
In hdd_set_reset_apf_offload, vdev_id is not assigned before
sending reset packet filter command.

Change-Id: If8c9297f19e19eba01b4415144304b9f744a5de9
CRs-Fixed: 2496035
2019-07-25 05:09:13 -07:00
nshrivas
e979c2c500 Release 5.2.0.140U
Release 5.2.0.140U

Change-Id: Ibfa41a7b748b7baca587d6c63960b8979259b488
CRs-Fixed: 774533
2019-07-25 02:40:49 -07:00
Chaoli Zhou
b11e18a0a4 qcacld-3.0: Export max IPA interface numbers
As for Rome, currently it usually just only support two
IPA interfaces offload, if use the default value 3, which
will cause the IPA pipe setup failure issue. So export
the max IPA interface numbers, and it's better to set
the appropriate value from build file according to
different requirement for different chipset and platform.
Meanwhile, it support SMMU on the sa415 platform, so
enable SMMU for it.

Change-Id: I2de31bcb4d38f5e7964d2cbdc2fc6f143eef510d
CRs-Fixed: 2480627
2019-07-25 02:40:48 -07:00
Will Huang
65d6425637 qcacld-3.0: Replace channel ID with frequency (bss_description 3)
Prepare to replace channel id with channel frequency of struct
bss_description, first cleanup reference of channel id of struct
bss_description in wlan_hdd_assoc.c wlan_hdd_cfg80211.c wlan_hdd_main.c
lim_assoc_utils.c lim_ft.c lim_process_sme_req_messages.c
lim_sme_req_utils.c rrm_api.c sme_api.c nan_datapath_api.c sme_rrm.c,
use channel frequency instead.

Change-Id: I980f74d77af97df2b2ade61250d44a606c76a7ef
CRs-Fixed: 2491488
2019-07-25 02:40:44 -07:00
nshrivas
1dc7d72817 Release 5.2.0.140T
Release 5.2.0.140T

Change-Id: Ie95f17e236dda8b3f9c14176287808420d45fd39
CRs-Fixed: 774533
2019-07-24 21:43:17 -07:00
nshrivas
9e32b76fea Release 5.2.0.140S
Release 5.2.0.140S

Change-Id: Ie71389e130a25233eb6689455198be1e9669cbb8
CRs-Fixed: 774533
2019-07-24 17:09:44 -07:00
guangde
45e45e7aff qcacld-3.0: update Rx timestamp every time
Host fill netbuf with qtime instead of tsf. In function
"hdd_get_soctime_from_tsf64time", when Host check RX packet
tsf value less than last_target_global_tsf_time, it will
return error. Then, Host will the default value 0 to
upper layer.Sometimes, User will found some packets FW
recvTime is not increasing compared with last packets.
So modify it to calculate qtime from tsf all the time.

Change-Id: Icc53f22b4213fb46ff3bfc3e3df940cb28c632f5
CRs-Fixed: 2485600
2019-07-24 17:09:44 -07:00
nshrivas
553ded9e40 Release 5.2.0.140R
Release 5.2.0.140R

Change-Id: I9e9e47aa824b81fab8f98ab14df7c515ec264761
CRs-Fixed: 774533
2019-07-23 13:55:14 -07:00
Liangwei Dong
b4353cade9 qcacld-3.0: Remove currentOperChannel from pe_session
Remove currentOperChannel from pe_session. Use curr_op_freq
instead of currentOperChannel.

Change-Id: Ibfa2abd22d3c70ff86c34dd0f5bc538c5c62a5b2
CRs-Fixed: 2490651
2019-07-23 13:55:14 -07:00
Will Huang
19b4dd9c02 qcacld-3.0: Replace channel ID with frequency (bss_description 1)
Prepare to replace channel id with channel frequency of struct
bss_description, first cleanup reference of channel id of struct
bss_description in csr_api_roam.c, use channel frequency instead.

Change-Id: If584dcbd5a6c1718af1902799e1f679898ef3585
CRs-Fixed: 2491396
2019-07-23 13:55:09 -07:00
nshrivas
5399e572bb Release 5.2.0.140Q
Release 5.2.0.140Q

Change-Id: If498996239a86a8938949038262e3ce46a4acece
CRs-Fixed: 774533
2019-07-22 15:58:36 -07:00
guangde
3f5fbbbbe7 qcacld-3.0: Add timestamp RX support in SAP mode
Host need to fill netbuf with qtime instead of tsf.
This function already realized in Change-Id
"Ib19ac1411c4e17624c012f188297c9f2122642d2".
But it only support STATION RX mode. add the similar
action for SAP RX mode.

Change-Id: Idb3f9da5488b19db48e96258ecb4539b5af3c9a6
CRs-Fixed: 2483566
2019-07-22 15:58:35 -07:00
nshrivas
cd846d104d Release 5.2.0.140P
Release 5.2.0.140P

Change-Id: I8cce812c6994912fb4876f5834144f8e1b789343
CRs-Fixed: 774533
2019-07-22 11:36:16 -07:00
Rakshith Suresh Patkar
db53c8f047 qcacld-3.0: Add new HDD callback for dp RX MIC error
As per existing design, dp rx mic error information is
posted to HDD via SME. HDD inturn indicates the mic error
to supplicant.

Define new HDD callback hdd_rx_mic_error_ind for
rx mic error, registered through the CDP API
cdp_register_rx_mic_error_ind_handler. This will
enable datapath to directly post mic error info to HDD,
eliminating processing by corestack.

Change-Id: I6561dc5e66e7059c249c1eeeabdbf754989221d2
CRs-Fixed: 2488455
2019-07-22 11:36:15 -07:00
Rakshith Suresh Patkar
02f3d31c2f qcacld-3.0: Use new HDD callback for rx mic error
Post rx mic error information to HDD via new HDD mic
error callback(hdd_rx_mic_error_ind) registered to
.rx_mic_error member in dp_ol_if_ops.

Change-Id: Ia1e2b78a94dddba48937995ecf62fb5a7ae4139d
CRs-Fixed: 2488452
2019-07-22 11:36:11 -07:00
Rakshith Suresh Patkar
dff3368236 qcacld-3.0: Cleanup dead code for rx mic error handling
rx mic error information is now posted to new HDD mic
error callback(hdd_rx_mic_error_ind) via .rx_mic_error
member in dp_ol_if_ops.

Cleanup the dead code left behind.

Change-Id: I32fd135506382c085755e25cab5af86824cea511
CRs-Fixed: 2488464
2019-07-22 11:36:08 -07:00
nshrivas
fe309fc9f6 Release 5.2.0.140O
Release 5.2.0.140O

Change-Id: I111196532af38b77c0571c72f240c28e8d18778f
CRs-Fixed: 774533
2019-07-22 09:17:49 -07:00
gaurank kathpalia
af483f51a8 qcacld-3.0: Update the acs mode in case of concurrency
Issue:-
Sap does not restart when unsafe
channel event comes, due to the acs mode
flag not set though acs happened.

Scenario:-
Turn on STA on channel number 1.
Turn on SAP on 2.4ghz band.
Make the channel number unsafe.

Observation:-
Sap fails to restart.

Expectation:
Sap should restart on some other channel.

Fix:-
Set the flag before the driver returns the
best channel as the STA channel.

Change-Id: I2cf2f5d3096da04f3c43969b7405b81c743fe2e2
CRs-Fixed: 2492087
2019-07-22 09:17:48 -07:00
Min Liu
165114392f qcacld-3.0: Remove WLAN_UMAC_CONVERGENCE
Remove the macro WLAN_UMAC_CONVERGENCE and unused code.

Change-Id: Ife34a496f01e16a9e4a82b92457caaac924f9cdc
CRs-Fixed: 2491285
2019-07-22 09:17:44 -07:00
Rajeev Kumar Sirasanagandla
50b2c10276 qcacld-3.0: Fix invalid access in vendor cmd handler
While processing vendor command: GET_PREFERRED_FREQ_LIST respective
handler __wlan_hdd_cfg80211_get_preferred_freq_list() do not validate
pcl_len received from policy_mgr_get_pcl() which can be zero when
current regulatory domain is ETSI13 based, gindoor_channel_support=0
and etsi13_srd_chan_in_master_mode=0.

If pcl_len is zero then invalid index is computed in
wlan_hdd_populate_weigh_pcl() when trying to access
chan_weights->weight_list[pcl_len - 1].

To fix this, add zero length check for pcl_len before accessing
weight_list[plc_len - 1].

Change-Id: Ie8bf52fe289634efc104ca674d70fcd1beb6c304
CRs-Fixed: 2492630
2019-07-22 09:17:39 -07:00
hqu
c7075af31c qcacld-3.0: Add op_freq in tagCsrRoamConnectedProfile
Add op_freq in tagCsrRoamConnectedProfile. Finally remove
operationChannel from tagCsrRoamConnectedProfile in next
few changes.

Change-Id: Ie9be4b59483412866d915448b33f8cb6cc9e2d7c
CRs-Fixed: 2489893
2019-07-22 09:17:35 -07:00
nshrivas
3bfa21c967 Release 5.2.0.140N
Release 5.2.0.140N

Change-Id: I3b27a12ceb19061582bef95bc051150e52708e31
CRs-Fixed: 774533
2019-07-22 06:33:13 -07:00
Liangwei Dong
e0d4db2d05 qcacld-3.0: Replace currentOperChannel with curr_op_freq
Replace currentOperChannel with curr_op_freq in file:
lim_send_sme_rsp_messages.c
lim_session.c
lim_session_utils.c
lim_utils.c
sch_beacon_gen.c
sch_beacon_process.c
sch_message.c
parser_api.c

Change-Id: Ifb82968178a6c61f1f3398367b2695788d24545d
CRs-fixed: 2489892
2019-07-22 06:33:12 -07:00
Liangwei Dong
419d730d1e qcacld-3.0: Replace currentOperChannel with curr_op_freq
Replace currentOperChannel with curr_op_freq in files:
lim_process_tdls.c
lim_reassoc_utils.c
lim_send_frames_host_roam.c
lim_send_management_frames.c
lim_send_messages.c

Change-Id: I62765838b6ac5f068854d45f82c541b67a78c76a
CRs-Fixed: 2492966
2019-07-22 06:33:03 -07:00
Abhinav Kumar
ce2b928f72 qcacld-3.0: Send btm offload disable to FW during RSO Stop
Currently btm offload command is sent to FW as part of RSO Start
for all type of roam req reason and btm offload disable command is
sent to the FW as part of RSO STOP. In case of STA+STA concurrency
case, while btm offload is enabled for the 2nd
STA after UPDATE_CFG sent for STA1, the FW asserts because it has btm
offload enabled for STA 1 while UPDATE_CFG and has not deconfigured
it yet. Send btm offload enable command as part of RSO Start in case
of roam_req->reason == REASON_CTX_INIT only to the FW so that it
configures btm for the currently enabled STA only in case of INIT
and re-configures for the second STA without assertion.

Change-Id: Ib146072c7cd0543ea82122702d6585d1d2a2e2d1
CRs-Fixed: 2493122
2019-07-22 06:32:58 -07:00
nshrivas
f145e93993 Release 5.2.0.140M
Release 5.2.0.140M

Change-Id: I5495b85a36f421c21b5a36d9afbe2416f1c53170
CRs-Fixed: 774533
2019-07-22 02:19:01 -07:00
Nirav Shah
a3e59d8d2f qcacld-3.0: Ratelimit per packet log in case of disconnect
Ratelimit per packet error log in case of disconnect.

Change-Id: I39af6361f1ae1a1c571e3885f2024efbd9b4c651
CRs-Fixed: 2482120
2019-07-22 02:19:00 -07:00
nshrivas
f29c908364 Release 5.2.0.140L
Release 5.2.0.140L

Change-Id: Iacddf923f040d5c40e9f0ed83f0b9959c31cb5fb
CRs-Fixed: 774533
2019-07-21 22:04:47 -07:00
hqu
7b2aef50f2 qcacld-3.0: Add op_freq in csr_roam_profile
Add op_freq in csr_roam_profile. Finally remove
operationChannel from csr_roam_profile in next
few changes.

Change-Id: I7a3d7fe7e77b18424f487429aaa19ca1a97b8aba
CRs-Fixed: 2489914
2019-07-21 22:04:46 -07:00
nshrivas
87afe7377a Release 5.2.0.140K
Release 5.2.0.140K

Change-Id: I0ebc29a156114f47f26ee520c7e50136310b5685
CRs-Fixed: 774533
2019-07-21 20:53:22 -07:00
Will Huang
d2f37fb571 qcacld-3.0: Replace channel ID with frequency (bss_description 2)
Prepare to replace channel id with channel frequency of struct
bss_description, first cleanup reference of channel id of struct
bss_description in lim_api.c csr_api_scan.c csr_host_scan_roam.c
csr_roam_preauth.c csr_util.c, use channel frequency instead.

Change-Id: I86864c73c429c52399819532cd9b957f66ed94f0
CRs-Fixed: 2491406
2019-07-21 20:53:21 -07:00
nshrivas
4e3f267d81 Release 5.2.0.140J
Release 5.2.0.140J

Change-Id: If80f64fa10516d39bfc259375bfb0b3a93e6e122
CRs-Fixed: 774533
2019-07-20 02:32:33 -07:00
Alok Kumar
1ff46df75e qcacld-3.0: Send proper TX MGMT frames status to packetdump
Currently, QDF_STATUS_SUCCESS is always sent for MGMT
Tx frames to packetdump.

Send the proper Tx status for MGMT Tx frames which is
mapped to packetdump tx status.

Change-Id: I7a780777910a5b9220ebb77cda1e0c4acd9f45b2
CRs-Fixed: 2490243
2019-07-20 02:32:32 -07:00
nshrivas
b32de7204a Release 5.2.0.140I
Release 5.2.0.140I

Change-Id: If21d2667effa4bbf242d0d77769e9e2247378f87
CRs-Fixed: 774533
2019-07-20 00:36:31 -07:00
Tushnim Bhattacharyya
dfecb8d12c qcacld-3.0: Remove channel field from ap_new_caps
Remove unused channel field in struct ap_new_caps.

Change-Id: Id2135464b98f6a8864e426a56d5702743bd4aa12
CRs-Fixed: 2492808
2019-07-20 00:36:31 -07:00
nshrivas
d2e9245295 Release 5.2.0.140H
Release 5.2.0.140H

Change-Id: Icab8be249c8ba947872c4f110fe8e534d855de67
CRs-Fixed: 774533
2019-07-19 21:49:47 -07:00
Alan Chen
5b19c21c72 qcacld-3.0: Prevent suspend to allow for wifi to turn off
When wifi is turned off, system suspend might occur during the timer delay,
which would stop the timer and prevent wifi from being turned off, leading
to battery drain. To fix this issue, prevent the suspend and turn off the
wifi before allowing suspend to happen.

Change-Id: Id4fbb13f3ab350b4e2545f65e38d9baaba5ed7ab
CRs-Fixed: 2493487
2019-07-19 21:49:47 -07:00
nshrivas
ade07aa01b Release 5.2.0.140G
Release 5.2.0.140G

Change-Id: I6cde6fd1873cce101515e0d47f37bc999288403c
CRs-Fixed: 774533
2019-07-19 11:25:39 -07:00
Kiran Kumar Lokere
f158ca5e38 qcacld-3.0: Update bss color collision detection scan interval
Change the OBSS color collision detection scan interval to 60 sec.

Change-Id: Id3d41454a8822953278bbf5fa267fdd5860fe227
CRs-Fixed: 2490354
2019-07-19 11:25:39 -07:00
nshrivas
710af350e5 Release 5.2.0.140F
Release 5.2.0.140F

Change-Id: Iad5f42540515e21f628b1db1c6c2de2868a57a95
CRs-Fixed: 774533
2019-07-19 07:31:14 -07:00
Tushnim Bhattacharyya
41668c648e qcacld-3.0: Replace channel with frequency in sSirUpdateChanParam
Replace channel ID with frequency in struct sSirUpdateChanParam.

Change-Id: I5b4b355b154ed94980aa54a2beacc436cf2e0c17
CRs-Fixed: 2491919
2019-07-19 07:31:14 -07:00
nshrivas
2aa50c839b Release 5.2.0.140E
Release 5.2.0.140E

Change-Id: Ibd84154361745c660d7f36ff29ebce7690c86616
CRs-Fixed: 774533
2019-07-19 04:04:10 -07:00
Nirav Shah
38ccf5b720 qcacld-3.0: Fix DPTRACE TX and RX counters for HL data path
Fix DPTRACE TX and RX counters for HL data path.

Change-Id: I3a6599d1181ec31ae5cfd1c8a9bd89579fe11089
CRs-Fixed: 2485534
2019-07-19 04:04:09 -07:00
nshrivas
b5968ba31a Release 5.2.0.140D
Release 5.2.0.140D

Change-Id: I15c367f62d68914561184086a077875caba2724b
CRs-Fixed: 774533
2019-07-19 02:48:10 -07:00
Tushnim Bhattacharyya
529006bb2f qcacld-3.0: Replace channel with frequency in new_bss_info
Replace channel ID with frequency in struct new_bss_info.

Change-Id: Iaa18ef613f204207a333683b3caff9f228574cff
CRs-Fixed: 2492012
2019-07-19 02:48:09 -07:00
nshrivas
ed6cf2995a Release 5.2.0.140C
Release 5.2.0.140C

Change-Id: I33420f16d48ffc7758212b2582c2b8ca675982f1
CRs-Fixed: 774533
2019-07-19 00:54:14 -07:00
Liangwei Dong
f86b11c0e7 qcacld-3.0: Replace currentOperChannel with curr_op_freq
Replace currentOperChannel with curr_op_freq in files:
lim_ft_preauth.c
lim_ibss_peer_mgmt.c
lim_link_monitoring_algo.c
lim_process_action_frame.c
lim_process_assoc_req_frame.c
lim_process_message_queue.c
lim_process_mlm_host_roam.c
lim_process_mlm_req_messages.c
lim_process_mlm_rsp_messages.c
lim_process_sme_req_messages.c

Change-Id: Icf4654ee2454200833aa34ff0a8f27d0918172eb
CRs-Fixed: 2489683
2019-07-19 00:54:13 -07:00
Liangwei Dong
075f663a16 qcacld-3.0: Replace currentOperChannel with curr_op_freq
Replace currentOperChannel with curr_op_freq in files:
lim_api.c lim_assoc_utils.c lim_ft.c

Change-Id: I2f06f0d10523fa0266509e860a13f57b5c35c0ee
CRs-Fixed: 2489616
2019-07-19 00:54:09 -07:00
Liangwei Dong
121bcb3def qcacld-3.0: Add curr_op_freq in pe_session
Add curr_op_freq in pe_session. And finally remove
currentOperChannel from pe_session in next few changes.

Change-Id: I2529a1637299b8dacf7fa6e2a81db851584453ee
CRs-Fixed: 2489613
2019-07-19 00:54:05 -07:00
Ashish Kumar Dhanotiya
3d8b0ae632 qcacld-3.0: Unlink hidden bss entry from kernel
Kernel maintains a list of bss and it adds/updates the bss
entries whenever driver informs it. When driver receives
beacon or probe response from any ap it informs kernel to
update the bss list and whenever it disconnects with the
AP driver unlink the bss in the kernel.

If the AP is hidden, when driver gets beacon from this
hidden AP it informs the kernel to update the bss list.
kernel add this entry to it's bss list with NULL SSID.
Now when driver receives probe response from this hidden
AP it again informs the kernel to update the bss list,
as this is probe response and ssid is not hidden,
kernel treats this entry as new entry and adds it to
its bss list and links this entry to the older hidden
AP entry (But still these are two entries for hidden AP).

When driver gets disconnect from the AP it unlink the
bss entry corresponding to this AP from kernel's bss
list, but since there are two entries for the same AP
as the AP is a hidden AP, driver should clear hidden AP
entry (Which was added as part of beacon) which is
not happening currently.
Now when AP moves from hidden to broadcasting SSID
in it's beacon, kernel drops this beacon entry as its
confusing because there is already a beacon entry with
hidden bss for this AP. During connection driver tries
to update the entry in the kernel and it fails as kernel
drops the beacon resulting into the connection failure.

To resolve this issue, whenever driver unlink the bss
entries from the kernel bss list unlink the hidden bss
entries also from the kernel's bss list.

Change-Id: I03a8517878b3db769bf28a157579179e1dd762e2
CRs-Fixed: 2488887
2019-07-19 00:54:00 -07:00
nshrivas
cc7142064b Release 5.2.0.140B
Release 5.2.0.140B

Change-Id: Ie6e418ef4b9740d2a5a0661bb89a0eee708e70fe
CRs-Fixed: 774533
2019-07-18 20:41:58 -07:00
Tushnim Bhattacharyya
293c9946eb qcacld-3.0: Replace channel with frequency in switch_channel_ind
Replace channel ID with frequency in struct wm_status_change_ntf.

Change-Id: Ib9773e48240944cf41b911e9be03c8f3791001eb
CRs-Fixed: 2489356
2019-07-18 20:41:57 -07:00
nshrivas
707f133fe7 Release 5.2.0.140A
Release 5.2.0.140A

Change-Id: Ifc9cc86a16318bd5a8ea1c1c381c14c09d3007ad
CRs-Fixed: 774533
2019-07-18 16:45:30 -07:00
hangtian
aabd8c9608 qcacld-3.0: Fix compile issue when WLAN_DEBUG is not enabled
For some branches, we disabled BUILD_DEBUG_VERSION, to avoid compile
issues, add macro for new function which only will be used at
QDF_TRACE().

Change-Id: Idd0bb3a98ef92b837e14bd4e8e3c374b1b6a7e58
CRs-Fixed: 2492501
2019-07-18 16:45:29 -07:00
Alan Chen
e523cd9f23 qcacld-3.0: Add lock/unlock for idle restart to prevent suspend
During idle restart, system suspend is happening, which is leading
to timeout because idle restart task is frozen during system suspend.
To avoid the timeout, add a wakelock for idle restart to prevent
system suspend.

Change-Id: Iffb6151452680df8cb4fb98e8646112e780881f8
CRs-Fixed: 2490321
2019-07-18 16:45:25 -07:00
Mahesh Kumar Kalikot Veetil
59a9a78079 qcacld-3.0: Enable power saving for FTM mode
Currently ASPM is not enabled for FTM mode. Enable it to test low power
mode in FTM.

CRS-Fixed: 2491207
Change-Id: I997225d33c94ed870dda2354bac256d9d1ca855d
2019-07-18 16:45:21 -07:00
nshrivas
ec0f618e9b Release 5.2.0.140
Release 5.2.0.140

Change-Id: I52c775e3302320651bef7b5ece63fdec75ab9932
CRs-Fixed: 774533
2019-07-18 12:10:29 -07:00
nshrivas
3f1b4fa9ed Release 5.2.0.139Z
Release 5.2.0.139Z

Change-Id: Ie8bc89df9071dfce996c304310bd48a7330718fe
CRs-Fixed: 774533
2019-07-18 09:16:11 -07:00
Mohit Khanna
6dbf9c8301 qcacld-3.0: Add BW level PLD_BUS_WIDTH_VERY_HIGH
Add additional bandwidth level for "very high" bandwidth. As per the
default configuration if the total number of tx/rx packets exceeds
bus_bw_very_high_threshold, the bus bandwidth requirement is designated
as PLD_BUS_WIDTH_VERY_HIGH and PLD API is called with this value.

Default value of 7000 is chosen for bus_bw_very_high_threshold, which
amounts to 820Mbps of throughput considering a 1500 byte packet and
100ms bandwidth timer interval.

Change-Id: I3bd904429a02ec4935ba12da7c2cfd37eec738ed
CRs-Fixed: 2489362
2019-07-18 09:16:10 -07:00
nshrivas
e0e1cc3369 Release 5.2.0.139Y
Release 5.2.0.139Y

Change-Id: Id6f38361e4234a8d77fcfd802ee4dfc9924a2650
CRs-Fixed: 774533
2019-07-18 07:17:19 -07:00
wadesong
f2d0db7930 qcacld-3.0: Replace channel ID with channel frequency
Replace channel ID(rx_channel) with channel frequency(
rx_freq) in struct bss_description.

Remove a few camel cases in function
lim_collect_bss_description.

Change-Id: Ic6051fa62d2fe0aa10a6d2a3568aeff75daa813f
CRs-Fixed: 2492155
2019-07-18 07:17:19 -07:00
wadesong
2c01763092 qcacld-3.0: Replace channel ID with channel frequency
Replace channel ID(channelIdSelf) with channel frequency(
freq_self) in struct bss_description.

Change-Id: I2fa9576aaa7503cf18d6600cc37465e42c8826aa
CRs-Fixed: 2492150
2019-07-18 07:17:14 -07:00
nshrivas
cc2eae2f45 Release 5.2.0.139X
Release 5.2.0.139X

Change-Id: I1e6b161e7ad42758cbce4ac9166bb33c2228fc49
CRs-Fixed: 774533
2019-07-18 01:07:13 -07:00
Qun Zhang
a055e9cb3b qcacld-3.0: Align the output of getChannelList under sta/hostapd mode
As requirement, it's also needed to print country code in iwpriv
getChannelList under hostapd mode, align the output of getChannelList
in sta/hostapd mode. At the same time, in __iw_get_channel_list(),
the wrqu->data.length should be (the actual channel number+1), not
sizeof(struct channel_list_info), otherwise there would be many
zeros if call iw_get_channel_list() directly.

Change-Id: I1e0fc1a026bf6c3fff2947ab4712a1800214ec0c
CRs-Fixed: 2476458
2019-07-18 01:07:11 -07:00
nshrivas
838cb0eae2 Release 5.2.0.139W
Release 5.2.0.139W

Change-Id: I5bbdf6532acd8d93be1473bc9d4c7b09dd7df5c7
CRs-Fixed: 774533
2019-07-17 20:18:48 -07:00
Abhishek Singh
a227e75e12 qcacld-3.0: Avoid policy_mgr_hw_mode_transition_cb in atomic context
wma_roam_event_callback can get called in atomic context from
wma_wake_event_piggybacked for reason WMI_ROAM_REASON_HO_FAILED
which lead to acquiring of pm_ctx->qdf_conc_list_lock mutex lock
in atomic context.

To fix this post msg to scheduler thread to call the policy mgr
API in scheduler thread context

Change-Id: I6b75de64a33559b73a7edc73e1100cfb3a1f507d
CRs-Fixed: 2491147
2019-07-17 20:18:47 -07:00
nshrivas
6494883b78 Release 5.2.0.139V
Release 5.2.0.139V

Change-Id: I001e1e7b25c19e12528fd3b96d0eefe1f1285d49
CRs-Fixed: 774533
2019-07-17 17:42:24 -07:00
nshrivas
1ebd9b5b56 Release 5.2.0.139U
Release 5.2.0.139U

Change-Id: Idd7feaea375653bd43c86ce051d2ddfeead21ff8
CRs-Fixed: 774533
2019-07-17 14:19:46 -07:00