Add supprot for enhance multicast offload feature such that
FW can filter out multicast IP data packets transmitted using
unicast MAC address.
Change-Id: I78066bec094b7b69ba1c2070d23eabb95853f52d
CRs-Fixed: 993496
Fix IPA WDI 1.0 update for overwrite of previous commit and use
only QCA_WIFI_3_0 build flag for qcacld-3.0.
Change-Id: I3bff4a4e10102e97aeb57fb0f67d48933e0bae9b
CRs-fixed: 994144
Provide support for STA+SAP DFS concurrency feature
Here is the brief description on the changes,
1) if STA came up first on DFS channel and SAP is coming up second
then as per concurrency rule SAP can't come up on DFS channel,
it can come up on 5G-non-dfs or 2G band.
2) if SAP came up first on DFS channel and STA is coming up second
then as per concurrency rule SAP has to move to non-dfs channel
by using channel switch announcement IE. Once SAP moves to
non-dfs channel then and then STA can continue on connection.
3) if there is any STA connection alive then SAP/GO's PCL shouldn't
contain any DFS channel in the list.
Change-Id: Iba1a64e66fbf5182152e9d2e15041923b8528c31
CRs-Fixed: 992939
Remove all the code written to support this feature as this feature
has been obsoleted for all next gen projects
Change-Id: I41eb8ef39c56b99a235141db6bb0dddcf7cdd753
CRs-Fixed: 992930
Remove all the code written to support this feature as this feature
has been obsoleted for all next gen projects
Change-Id: Ibcdb7321040e689787a4badebdc1a4325fc79d7b
CRs-Fixed: 992930
Remove all the code written to support this feature as this feature
has been obsoleted for all next gen projects.
Change-Id: I469841f719ddb43710724013e4b669560f0a008b
CRs-Fixed: 992930
Remove all the code written to support this feature as this feature
has been obsoleted for all next gen projects
Change-Id: Iee39090d50979e26eb833ddae4ae77c08d6d71b3
CRs-Fixed: 992930
Remove all the code written to support this feature as this feature
has been obsoleted for all next gen projects.
Change-Id: Ia48baa2d67ff4269fe3b9a137ed592da851abc18
CRs-Fixed: 992930
Remove all the code written to support this feature as this feature
has been obsoleted for all next gen projects.
Change-Id: I0d3b929a6e521a9e1d3fe87bd109be91bfb25c9b
CRs-Fixed: 992930
Propagation from qcacld-2.0 to qcacld-3.0
WMI change for the per vap dscp override
Change-Id: Ia2004cb60959b34f8976282f560edfea3b1153aa
CRs-Fixed: 865207
qcacld-2.0 to qcacld-3.0 propagation
Currently if PMF is enabled, only sa query action frames
received from supplicant are sent protected. None of the other
action frame category are sent protected.
Adds check for robust action frames, to decide if protection is
needed for the action frame category received from supplicant.
Change-Id: Ib1eb589c530ef99b7e2fedfcd106e0f646d78d93
CRs-Fixed: 960298
qcacld-2.0 to qcacld-3.0 propagation
Check for valid length before copying the packet filter data from
userspace buffer to kernel space buffer to avoid buffer overflow
issue.
Change-Id: I9548727543b903b5eaafa25c6184615d511ca99d
CRs-Fixed: 930533
Scan pending flag is maintained per adapter but it is getting
reset only when all the scans on all the adapters are
completed.
Update logic to reset scan pending flag when there is no pending
scan on that particular adapter.
Change-Id: If019f6619fa11a505c489a12474b5f550982a727
CRs-Fixed: 990466
Remove function csr_neighbor_roam_create_chan_list_from_neighbor_report,
since it is not being used in LFR2 and up code.
Change-Id: I5c54aa0ef2704c5d090e56c6ec65e55639371204
CRs-Fixed: 972906
Add API to CDS to add bonded channel parameters. Given an
operating channel and channel width, the API would verify and
populate the center frequencies.
Change-Id: Ib2c5029cda567308210b028b628d96419e3fd05c
CRs-Fixed: 988355
Epping nbuf packets were being tracked by cdf nbug tracking. This change
stops tracking of packets prior to being released into the network stack.
and uses the correct nbuf free routine for tx packets.
Change-Id: Ib986fb595139ace706db00839cf1dabb983013fd
CRs-Fixed: 989695
qcacld-2.0 to qcacld-3.0 propagation
With invalid WEP password, some APs reply AUTH frame 4 with
invalid seqNumber. This AUTH frame will be dropped by driver,
then driver sends the generic status code instead of protocol
status code.
As a workaround, assign the seqNumber=4 for AUTH frame 4,
which ensures driver to send correct status code when WEP AUTH
fail.
Change-Id: I2fc96f0c253cf639d730d59d567be50bca51bd0b
CRs-Fixed: 947898
qcacld-2.0 to qcacld-3.0 propagation
When WEP algo is AUTOSWITCH, driver will try OPEN AUTH first,
then SHARED AUTH.
If AP accepts both OPEN and SHARED AUTH, driver never tries to
connect to AP with SHARED AUTH, which makes user is not getting
the notification (about wrong password).
This change makes driver to try SHARED AUTH first, then OPEN AUTH
when WEP algo is AUTOSWITCH.
Change-Id: I21841f37d96316a261fd2977229390e751747c4c
CRs-fixed: 947898
Kernel assumes all SET IOCTL commands are assigned with even
numbers. But in our WLAN driver, some SET IOCTLS are assigned with
odd numbers. This leads kernel fail to check, for some SET IOCTLs,
whether user has the right permission to do SET operation.
Hence, in driver, before processing SET_THREE_INT_GET_NONE IOCTL,
making sure user task has right permission to process the command.
Change-Id: I3c695160d637ed87b04ccf3299985055a9791c4b
CRs-Fixed: 930948
Do following cleanup on fastpath code changes:
1) Remove reaping of Tx HIF buffers in Rx handling, instead handle
reaping in Tx fastpath itself.
2) In ce_per_engine_service_fast check for more Rx packets after
packet processing.
3) Make stub functions as static inline for non-fastpath enabled case.
Change-Id: If07c4344a424ce13b94128bf28931a24255b661a
CRs-Fixed: 987182
With dedicated CE for Rx HTT messages, skip processing in HTC layer.
Do special handling in HIF-CE and HTT layer, this optimization results
in 3-4% CPU utilization gain.
Change-Id: I400148a0e24ac62dd09e2a95d5f35d94d83fe2df
CRs-Fixed: 987182
Make changes so that LRO and FastPath can check whether a
given CE is a datapath RX CE. This is done through new
flags in CE_state which indicate whether or not a given
CE is a htt_[tr]x CE.
Also add support to enable multi-queue NAPI.
Note that the paths are not yet parallel-execution protected,
but this should be OK as all NAPI instances are processing
the same interrupt now and as such as serialized.
Acked-by: Orhan K AKYILDIZ<oka@qca.qualcomm.com>
Change-Id: I57125b3e1fbad0345b6e1f4ed25e71babaf4f520
CRs-Fixed: 982728
The kernel can be either directly under build_root/kernel or in a
subdirectory within it. The WLAN module has a hard coded assumption
for the path. Hence add the changes to correct it based on flags
TARGET_KERNEL_VERSION and KERNEL_TO_BUILD_ROOT_OFFSET.
Change-Id: Ic4738da5c414a1ce1d74e2b42b918b906f5fda98
CRs-fixed: 992940
qcacld-2.0 to qcacld-3.0 propagation
PTK exchange and install happens during preauthentication if key_mgmt is
FT-PSK. STA TL state moves to authenticated only if ptk_installed is true.
Currently ptk_installed is false after roaming due to which STA TL state
does not move to authenticated state and also does not enter BMPS.
To fix this issue, set ptk_installed to true in case of 11R roaming
Change-Id: I59e4466994e59b055246e86613315b0299b767a7
CRs-Fixed: 961555
qcacld-2.0 to qcacld-3.0 propagation
Fix to add NULL check before dereference of pointer
Change-Id: I520aca1fc46cf3fbb30d2f068f6da43a2b2986e6
CRs-Fixed: 965800
Send UAPSD parameters to FW and enable it only if the device is
in power save mode.
Change-Id: I14ecfc8bace7ec15eebe18296355544cdbdf030e
CRs-Fixed: 991119
Use the pcl channel list to do random channel selection when the
radar is detected.
Change-Id: I286bf447a398bf1d9a7a1493ac4bbfd9847de148
CRs-Fixed: 988325
Modify the routine name of is_roaming_offload_enabled to
roaming_offload_enabled
CRs-Fixed: 978905
Change-Id: I1bfa1ebe1f7dd9dc88c68a0c660fa1886cf0e0fe
Enable compile time featurization support for both LFR2.0
and LFR3.0 using WLAN_FEATURE_HOST_ROAM and
WLAN_FEATURE_ROAM_OFFLOAD respectively
CRs-Fixed: 978905
Change-Id: Ib5976cd0cd5a6e117a1334bfc73a043e36e25f77
Move the scanning related code which is pertinent to roaming
into a separate file so that any future maintenace would be
easy across different projects
CRs-Fixed: 978905
Change-Id: Ia8c81726eb843d0a5aa89affa89d84d77994932e
Move the preauthentication related code in the CSR module
into a separate file so that it is easy to maintain
across different projects
CRs-Fixed: 978905
Change-Id: I56e8441f08dec180f080c305ba5c6541302f107c
Create a new function csr_neighbor_roam_state_transition to
transition the roaming state and also log it
CRs-Fixed: 978905
Change-Id: Id50d51fe1fa09dc9984ba83fbc01e8d9c7d00ffa
Remove WLAN_FEATURE_ROAM_SCAN_OFFLOAD compile time flag from the code
since this is relevant to roaming (LFR2.0) and always enabled by default.
The flag also does not seem to cover the feature entirely and it does
not make any meaning to only cover this piece of code.
CRs-Fixed: 978905
Change-Id: Ifa393c2733e87fcb34aba3e4f4cdb5f534196537
Move all the roaming related timers into a separate file
for easy maintenance and management across different projects
CRs-Fixed: 978905
Change-Id: I3bdbf13d9f962af36d74837bf50be7c9a93e824e
Move the routines which help in building and sending the roaming
related management frames into a separate file for easy
maintenance across different projects
CRs-Fixed: 978905
Change-Id: If8e5cbdabef7747e58359961c3b13c577eb3b777
Move all the reassociation related utilities to a separate
file for easy maintenance across different projects
CRs-Fixed: 978905
Change-Id: I86809ac48659dc91222624fec616bab6533d75dd