Fix implicit conversion from enumeration type 'tSirRFBand'
to different enumeration type 'eCsrBand'
Currently 3 different types of enums exist to enumerate the
band type.Remove eCsrBand and tSirRfBand and
use tSirRFBand everywhere.
Change-Id: I1862c6d3a5daca7523870b7f0931ee4f20c7ce4f
CRs-Fixed: 2145080
DPH hash table is allocated for each session of depth equal to
max possible peers. This memory chunk goes upto 33KB in size and
may fail. Instead allocate the memory from BSS segment so that
run-time allocation is not needed.
Change-Id: I56d6adb7934faef1940ab8515fed30646f536ab2
CRs-fixed: 2149563
Add support for periodic stats for data packets to be displayed in
wlan driver logs.
Change-Id: Iee6759ae75657ae93e94ea1bb1343f2ea489c087
CRs-Fixed: 2120047
WLAN driver changes this system paramerter (via cnss-daemon) when the RX
throughput requirement changes LOW->HIGH or HIGH->LOW. This depends on
the whether the number of RX packets received in last 100ms interval is
greater than 500 or not. The 100ms and 500 thresh params are
configurable via WLAN ini file WCNSS_qcom_cfg.ini.
Add ini support to enable/disable changing of this system parameter by
WLAN driver. Since tcp_adv_win_scale is a system parameter, some
customers may not want the WLAN driver to change it and may want to set
their own default values.
"gTcpAdvWinScaleEnable=0" when added to the ini file will prevent
the driver from making any changes to the system parameter
"/proc/sys/net/ipv4/tcp_adv_win_scale". The default value of the ini
file param gTcpAdvWinScaleEnable is "1".
CRs-Fixed: 2033338
Change-Id: I19288bba11841cf176118abaf08ccaabaf2f79b9
The existing INI gSapForce11NFor11AC forces both P2P-Go and SAP to 11n for
11AC. Add gGoForce11NFor11AC to force SAP and GO separately.
Change-Id: I26dce96ec582bed0ff3c62bd5f06fc96e85f0ee4
CRs-Fixed: 2140051
Current open and close session APIs mainly defined in HDD, SME, and SAP
modules are not proper. They require some design changes to maintain the
consistency.
In order to achieve the goal of making symmetrical design for open
and close session logic, refactor existing API in HDD module.
CRs-Fixed: 2147971
Change-Id: Icdf8b0f99bc9fb828f7c68a32e5d25652baa8a17
Enable support for concurrent STA interface to be open during startup
using the ini param gEnableConcurrentSTA
Change-Id: Iede1f8673fb682753e31ed8f376453692938e4ba
User defined wowl patterns are not freed in all
of the driver unload paths, and it causes
leaks in the system.
Free user defined wowl patterns in all the driver
unload paths.
Change-Id: I7b980a6392badb3d28f2c665a96108beb71f02d5
CRs-Fixed: 2144562
Currently, the interface idle (aka interface change) timeout uses a
qdf_mc_timer. This dependency on the MC thread means the MC thread
cannot be shutdown as part of the interface idle timeout work. This
wastes resources, and leads to the init/deinit paths to be out of sync
with respect to starting and stopping the MC thread. To address these
issues, use a delayed work to schedule the interface idle work instead
of a qdf_mc_timer.
Change-Id: I7570081112fa236a15d823e2a3857d252567f041
CRs-Fixed: 2112696
The RSSI value of the candidate AP should be higher than rssi_abs_thresh
to roam to the AP. 0 means no absolute minimum RSSI is required.
The value sent to the firmware is the offset from the noise floor in dB.
Change-Id: Ic956a184ac9a241e310b5d46ee6c70b9d1962446
CRs-Fixed: 2118279
Add ini support to enable/disable WIFI data stall
detection feature. By default gEnableDataStallDetection
ini set to 0.
CRs-Fixed: 2124762
Change-Id: I2d9cd3fe0092aeb29c37cded2e5245c9f816ec08
The gerrit which separates TcpDelAck and TcpAdvWinScale, is involving
the regression issue, that API hdd_send_wlan_tp_ind will send
useless info to upper.
Need set flag and rx_level members properly in indication.
CRs-Fixed: 2141612
Change-Id: I85082e2513f843edaec8365e0abddf572112c535
Add ini support to configure different OCE features
which is sent as bitmap to firmware via vdev_set_param
command.
Change-Id: I2c679a6fe902e1b41ba984ed2255eee02ed29549
CRs-Fixed: 2121585
Change "qcacmn: Rename enum tQDF_ADAPTER_MODE" (qca-wifi-host-cmn
Change-Id I20f1b6d1a0ab4b8fe6a85cefdff96a49e2f4652c) renamed enum
tQDF_ADAPTER_MODE to QDF_OPMODE. Update all references to use the
new name.
Change-Id: Ic6f663dac11a100f168b2626c7c0fbcaccbfca4f
CRs-Fixed: 2141065
The checkpatch script identified multiple Linux coding style issues in
wlan_hdd_lro.h, so fix them.
Change-Id: I1e419f86db33f36c7af4f25b0e61f79a2890d27b
CRs-Fixed: 2141064
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The tCsrRoamInfo typedef does not
meet any of those criteria, and the underlying struct is already being
used in some places, so replace all remaining tCsrRoamInfo references
with a reference to the underlying struct.
Change-Id: I1da4b04ec92e176fe28b33d30ec7823828c35c8d
CRs-Fixed: 2140349
Per the Linux coding style "mixed-case names are frowned upon" so
rename struct tagCsrRoamInfo.
Change-Id: I21e6c423408f74603e9b469cace00884274d2b61
CRs-Fixed: 2140345
Per the Linux coding style "mixed-case names are frowned upon" so
rename field enableSapSuspend in struct hdd_context.
Change-Id: I8f5321fa57c01a36df72dec17499969d0848e3dd
CRs-Fixed: 2140344
qcacld-2.0 to qcacld-3.0 propagation
Reduce the beacon interval just before the channel switch.
This would help in reducing the downtime on the STA side which
is waiting for beacons from the AP to resume back transmission.
Switch back the beacon_interval to its original value after
the channel switch based on the timeout. This would ensure
there are atleast some beacons sent with increased frequency.
Change-Id: I37db52713d9e2c78abbb97a7cd0274d9da35bfd2
CRs-Fixed: 1094958
qcacld-2.0 to qcacld-3.0 propagation
Send one action frame along with each beacon tx to reduce failure
of channel switching on sta side.
Change-Id: Idbbe1a4bcb4976101680974214fe85d9886ba7d1
CRs-Fixed: 1094958
Add support for Enable/Disable LRO at run time through vendor
command. In case of USB tethering with WLAN0 as upstream,
vendor command will be issued to disable LRO. On reception
driver will disable LRO and enable tcpdelack.
Change-Id: If64da28c040868d5b42af202c647251db1a684c0
CRs-Fixed: 2060320
Currently the prototype for hdd_string_to_u8_array() doesn't exactly
match the signature of the implementation, so fix the prototype to
match. In addition relocate the documentation to the header file.
Change-Id: Idd2cb27dddddd14f12d0e11119131ecacdc369bb
CRs-Fixed: 2138017
The Linux Coding Style frowns upon mixed-case names, so rename all
instances of sendDeauthBeforeCon to align with the Coding Style.
Change-Id: Iac2ed0dbaa9c4d2bfb103813d63ab0d7a79ff868
CRs-Fixed: 2138016
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pWlanDev to align with the Coding Style.
Change-Id: I4fcceec19e1bca130f224b4350d40b5e8be69f28
CRs-Fixed: 2138015
Per the Linux coding style "mixed-case names are frowned upon" so
rename field btCoexModeSet in struct hdd_context.
Change-Id: I3db356fca8fb1fe0022fdddcddb05d709b64d870
CRs-Fixed: 2138014
Per the Linux coding style "mixed-case names are frowned upon" so
rename field p2pDeviceAddress in struct hdd_context as well as the
local variable of the same name in __wlan_hdd_add_virtual_intf().
Change-Id: I5604066e115630786afe381ee61433ed516e3248
CRs-Fixed: 2138013
Per the Linux coding style "mixed-case names are frowned upon" so
rename field hddWmmDscpToUpMap in struct hdd_adapter as well as the
local variable of the same name in hdd_wmm_init().
Change-Id: I9ce70c28f492850c0e4aa4245403d06f4128c9e8
CRs-Fixed: 2138012
cleanup mscanpending flag and replace it
with scan component API's to get the
status of pending scans.
Change-Id: I87c3d18f4da35800d1c2a323bdd5be88a71bccca
CRs-Fixed: 2136149
PNO is moved to scan component and logic to update PNO scan result
has also moved to SCM hence remove the duplciate logic from HDD.
Change-Id: I85c601fef72021a053e1d73cc3a295cffb010fbe
CRs-Fixed: 2138067
Per the Linux coding style "mixed-case names are frowned upon" so
rename all fields in struct hdd_wapi_info.
Change-Id: I7df5a9523d00186f8b40de81c8544c0c1dc56b69
CRs-Fixed: 2137220
Per the Linux coding style "mixed-case names are frowned upon" so
rename field sessionId in struct hdd_adapter.
Change-Id: Ic33452766d5aee02fa0d87f9d198485b4192db39
CRs-Fixed: 2135916
Per the Linux coding style "mixed-case names are frowned upon" so
rename the following fields in struct hdd_roaming_info:
- peerMac
- roamId
- roamStatus
- deferKeyComplete
Change-Id: I14f280ad3d8043aee3098ad9f28fc86a97202249
CRs-Fixed: 2136542
Per the Linux coding style "mixed-case names are frowned upon" so
rename field hddWmmStatus in struct hdd_adapter.
Change-Id: I6434cc45e4e00bad602721336011b335ca300687
CRs-Fixed: 2135914
Field roamingState in struct hdd_roaming_info is written but never
read. Since this information is not used, remove it.
Change-Id: If845658a3aa46843e6e558911ed8dee68ea592d1
CRs-Fixed: 2135912
Per the Linux coding style "mixed-case names are frowned upon" so
rename field linkStatus in struct hdd_adapter.
Change-Id: I842b4caae5f0c8fef90d9a6971cce2416983dc6f
CRs-Fixed: 2135915
Per the Linux coding style "mixed-case names are frowned upon" so
rename field enableRxThread in struct hdd_context.
Change-Id: Ie9f100879a730d341f89a035d8386685d71a3a44
CRs-Fixed: 2135911
Per the Linux coding style "mixed-case names are frowned upon" so
rename field hddAdapters in struct hdd_context.
Change-Id: I6e7e0b4fe5a93a9ce830313bf2537564062e5ce5
CRs-Fixed: 2135910
Per the Linux coding style "mixed-case names are frowned upon" so
rename field isWiphySuspended in struct hdd_context.
Change-Id: If32333fe2cf5a4494e0f631909ebc1e16d679269
CRs-Fixed: 2135909
Per the Linux coding style "mixed-case names are frowned upon" so
rename field sessionCtx in struct hdd_adapter.
Change-Id: I726adb12694860a57e1c9a46071ed97dafdc46e9
CRs-Fixed: 2134952
Per the Linux coding style "mixed-case names are frowned upon" so
rename field isLinkLayerStatsSet in struct hdd_adapter.
Change-Id: I1fd0b9376ca49734f1fdbe44a072aaa2b65265d7
CRs-Fixed: 2134945
Per the Linux coding style "mixed-case names are frowned upon" so
rename field macAddressCurrent in struct hdd_adapter.
Change-Id: If4c674f7d8f10089d72e78954922ed1e859ea08e
CRs-Fixed: 2134944
Per the Linux coding style "mixed-case names are frowned upon" so
rename fields ipv4NotifierWorkQueue and ipv6NotifierWorkQueue in
struct hdd_adapter.
Change-Id: I91e3a439bb4e9aabbc2ab22673379e1332e5075d
CRs-Fixed: 2134943
Per the Linux coding style "mixed-case names are frowned upon" so
rename fields psbChanged and configuredPsb in struct hdd_adapter.
Change-Id: I87d7b74f95e3644f718fc18ace285bf4b6066985
CRs-Fixed: 2134942
Fields mgmtTxCompletionStatus, monTxWorkQueue, and skb_to_tx in struct
hdd_adapter are unused, so remove them.
Change-Id: Ie050f8e144fdaf35fadb0baeb22a31c209a93b28
CRs-Fixed: 2134941
Per the Linux coding style "mixed-case names are frowned upon" so
rename field isLinkUpSvcNeeded in struct hdd_adapter.
Change-Id: If2c6f33fb1a25fc3a88ba2f42309b5cb5bb11d65
CRs-Fixed: 2134940