sme_ese_send_beacon_req_scan_results sends number of bss description
present in beacon report through bcn_report->numBss. For each
iteration driver could send max 4 BSS. In case if driver has to send
beacon report for more than 4 BSS, It sends 4 BSS per iteration. Once
first four results are sent and bcn_report->numBss is not set to 0,
in next iteration bcn_report->numBss++ start from 4 instead of 0.
This Result in sending value more than 4 instead of 4 for next rest
BSS and leads to Integer overflow for bcn_report->numBss.
Driver should memset beacon_rep buffer for each iteration in order to
prevent Integer overflow of bcn_report->numBss. By this driver
could send fresh beacon report (independent of previous beacon report)
in each iteration.
Fix is to memset beacon_rep buffer to zero after sending beacon
report in each iteration in sme_ese_send_beacon_req_scan_results.
Change-Id: I0d07e54ec7f05e8eef388f9958fad597dc49873e
CRs-Fixed: 2408834
While handling userspace-directed re-association, driver
checks for flag "supplicant_disabled_roaming" before sending
roam invoke command after connection. Currently, the value of
supplicant_disabled_roaming is getting updated by value comes
through vendor command QCA_WLAN_VENDOR_ATTR_ROAMING_POLICY.
In case if roaming does not get enabled using vendor command
in __wlan_hdd_cfg80211_set_fast_roaming, driver rejects
fast re-association cmd. This leads to roaming failure.
Fix is to allow roam invoke command irrespective of flag
"supplicant_disabled_roaming" and send csr_roam_offload_scan
with reason REASON_SUPPLICANT_DISABLED_ROAMING instead of
REASON_DISCONNECTED while processing FASTREASSOC command.
Change-Id: Iee55fff8dd9445a2fb2b96a244f59a763f207dd5
CRs-Fixed: 2408861
Host driver code has several instances of struct bss_description
that is type defined to tSirBssDescription, *tpSirBssDescription
This goes against the linux coding style. This change replaces
tpSirBssDescription with struct bss_description *.
Also Linux Coding Style doesn't welcome mixed-case names. So
cleanup some mixed-case variable names as well.
This change should be followed by changes to replace
typedef tSirBssDescription also ultimately.
Change-Id: Ic6fa2d5c7db0d0c1fe4be1096d416295dcb83779
CRs-Fixed: 2409129
In the function lim_msg_str(), obsolete FIXME_GEN6 compilation macro
is still present and since this compile flag is not enabled,
this function always return "" which results in incorrect logs.
Fix is to remove this obsolete compile macro and also some of the
obsolete enums.
Change-Id: I1f147ff1e9f9c13683e38892007250f965b40407
CRs-Fixed: 2410145
Add support for vendor attribute which givies provision to
specify the ethernet protocol id from userspace to the packets
which are offloaded to the driver/firmware (e.g., IPv4, IPv6).
Change-Id: I543cbe63c6daa43427c7f207c42c667525dc6dcd
CRs-Fixed: 2398207
Send preferred channel list with weight value and a flag
to indicate how the channels should be used in P2P
negotiation process.
Change-Id: Ia48d4f935547c802e78dfdc418fe39031fa43ba5
CRs-Fixed: 2405331
In IBSS mode, it should copy ssid to member ssId of tSirMacSSid
instead of member length when set bcn/probe filter. Due to the
wrong copy, the peer IBSS bcn is filtered out, so the IBSS group
can not be established.
Change-Id: I9df11de06b0c5ef04a53ee6a25a4ef1547797980
CRs-Fixed: 2386777
Currently the driver has hdd, sme api to set the hw
dbs capability in the mac context which is not used
by any other module, because the dispatcher APIs are
already present.
Remove the hw mode capability variable from the mac
context as it is no longer used.
Change-Id: I7aa53b09cfb93fcd87ba9faf97402c136ef6b7ed
CRs-Fixed: 2409368
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD identifier pQosContext to be
compliant.
Change-Id: I649b6db239bb1b50e3a4743c3e51cbb2bd8183db
CRs-Fixed: 2409888
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier LinkLayerStatsSetReq to be compliant.
Change-Id: Ibc178f5776ff04a2e55203846994416353814d5b
CRs-Fixed: 2409887
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename identifier eBand to be compliant.
Change-Id: If232dac1fb05b64c7643ee0f3adea47a712a192b
CRs-Fixed: 2409886
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename SME local variable pPlmReq to be
compliant.
Change-Id: I89fbf08ccc2b16bfed397ac6afa190cefe34141c
CRs-Fixed: 2409885
The Linux Coding Style frowns upon mixed-case names so rename field
operationChannel in struct hdd_connection_info to be compliant.
Change-Id: Ic6d600997fc41a17c1ff6502a576b14b3f3ca2c0
CRs-Fixed: 2409884
The Linux Coding Style frowns upon mixed-case names so rename field
dot11Mode in struct hdd_connection_info to be compliant.
Change-Id: I0da66d6291bfb926a59566badb26e22f1055eb50
CRs-Fixed: 2409883
The Linux Coding Style frowns upon mixed-case names so rename field
authType in struct hdd_connection_info to be compliant.
Change-Id: I6b17fd1b068a817ad4ef2eed99164a4c4620b50b
CRs-Fixed: 2409881
The Linux Coding Style frowns upon mixed-case names so rename field
peerMacAddress in struct hdd_connection_info to be compliant.
Change-Id: Id6ef7a5f51431d799bdee9a3bae8da5158ece8a3
CRs-Fixed: 2409880
The Linux Coding Style frowns upon mixed-case names so rename field
staId in struct hdd_connection_info to be compliant.
Change-Id: Ied5e7a5e669c54d521d1bb7070f4a0fbd77efda4
CRs-Fixed: 2409879
The Linux Coding Style frowns upon mixed-case names so rename field
bssId in struct hdd_connection_info to be compliant.
Change-Id: I49a1a68fbec0582d8bbc82c2e92c171bb6343dfc
CRs-Fixed: 2409878
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename field uIsAuthenticated in struct
hdd_connection_info to be compliant.
Change-Id: I9e7629e41ba42224be5dbe5c7a773d1574a189b2
CRs-Fixed: 2409877
The Linux Coding Style frowns upon mixed-case names so rename fields
ucEncryptionType and mcEncryptionType in struct hdd_connection_info to
be compliant.
Change-Id: I286b7df320f4bb1684acaf463cfd249dc0e1c1d8
CRs-Fixed: 2409876
The Linux Coding Style frowns upon mixed-case names so rename
proxyARPService to be compliant.
Change-Id: I8ad21c749caabde80fa21fa6800901c20988cfd2
CRs-Fixed: 2409875
To conform to the expectation that uppercase identifiers are only used
for macros, rename field SSID in struct hdd_connection_info.
Change-Id: Ia6d3c45be952ed7c044a21c723a7fddb0038ad81
CRs-Fixed: 2409874
The Linux Coding Style frowns upon mixed-case names so rename field
connState in struct hdd_connection_info to be compliant.
Change-Id: Ib5e1fa2cc4c6ea4e15a6dba2c0ec3ac424b9e09e
CRs-Fixed: 2409873
Operation classes supported can be controlled by user, which can
be sent greater than the max supported operations. This results
in stack overflow in change station command.
Add check to validate operations supported param given by user
and if it exceeds max supported value, set it to max supported
value.
CRs-Fixed: 2002052
Change-Id: Idd3a35e38b091546a17d7ec6329f19429e5c289c
As part of DSC integration, replace remaining cds_ssr_protect/unprotect
with appropriate osif_sync op start/stop calls in debugfs callback
handlers.
Change-Id: I416743c713997fa8ba98c69e2876efcefe8af9cb
CRs-Fixed: 2409166
Currently, the wlan driver enables low power mode in firmware, even when
the driver is loaded in Factory Test Mode (FTM). Going into low power
mode while in FTM can cause firmware to misbehave, and doesn't make much
sense anyway. Avoid power save when the driver is in FTM.
Change-Id: Id979f70db09fe42b9a1b9951542283e8f565cd85
CRs-Fixed: 2408289
There is duplicate codes about DP INI in function cds_cdp_cfg_attach,
so remove it.
Change-Id: I0e6879cf28944cfd92ae7a3e6f4594641431d571
CRs-Fixed: 2408904
Up layer tx probe response frame with wait/duration 0, which may be
start ROC with duration 0 and then tx mgmt frame fail since of very
short ROC and no enough time to wait for tx ack.
Change-Id: I5243ff10726b642d8cf18992a230d741f9d2655f
CRs-Fixed: 2397719
Update function ol_txrx_update_last_real_peer to pass vdev instead of
peer structure.
Change-Id: I869756a45efb1e3f37d280596ae509960d9a3ceb
CRs-Fixed: 2397246
Currently the driver checks enable 2x2 in hdd update nss, and
if it is 0, i.e nss is max limited to 1, then the driver returns
from there with the fail, thus not changing the global ini.
Fix is to remove the check from the common path, and put the
check only in the path where the FW also supports per vdev nss
change command.
Change-Id: I164e052eeec05d8e8c1653d134f645689f9e6281
CRs-Fixed: 2409355
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD local variable eBssType to be
compliant.
Change-Id: Ifb59945fbde736d3aea0cc00034950337c3e5f17
CRs-Fixed: 2409076
The Linux Coding Style frowns upon mixed-case names so rename HDD
local variable staId to be compliant.
Change-Id: I3dc22581adb270baeaad116062f8ed899d667e55
CRs-Fixed: 2409075
The Linux Coding Style frowns upon mixed-case names so rename HDD
local variable numOfBytestoPrint to be compliant.
Change-Id: I2676e6e33a1d0a64d5d73fce92f692b8586e2c14
CRs-Fixed: 2409074
The Linux Coding Style frowns upon mixed-case names so rename HDD
local variable staIdx to be compliant.
Change-Id: I5fa3be478fbee159ac9f6b4656586bb7f1f0d89a
CRs-Fixed: 2409073