Ensure that the SAP context is validated before access in
its callback. The global SAP context is now an array of
contexts rather than a single global context to help
validate the session. Increasing the SAP open session
timeout helps to configure all the commands to the FW and
helps to further avoid any crashes.
Change-Id: I6f722dcc4ab671fef010c816a7c7d38fc1bdebe4
CRs-Fixed: 1031855
Indicate disconnect event to nl80211 and thereby to the supplicant
by invoking cfg80211_disconnect upon disconnect as kernel 3.11 onward
releases will not indicate the same to upper layers.
Call to cfg80211_disconnect also signifies whether disconnect is
triggered by the supplicant or received from the AP by setting the
"from_ap" flag accordingly.
qcacld-2.0 to qcacld-3.0 propagation
Change-Id: I55028533ebbf03910755da1b35c2fa57d97ce43b
CRs-Fixed: 1016872
As part of WMI convergence wow wake event bitmap is sent wrongly
as enable/disable flag to fw. Fix WMA API to send wake event bitmap
properly.
Change-Id: I3b752c365e09f08104fa871c29e2629c1873b3fc
CRs-Fixed: 1033129
TDLS implicit trigger mode works based on data traffic without
user intervention. When the traffic meets setup threshold,
TDLS connection is initiated and when the traffic
reaches a teardown threshold/rssi TDLS connection
is torn down.
Add TDLS connection tracker in the host driver to determine,
when to initiate and teardown the TDLS connection based
on data traffic.
Change-Id: I995ea9c391372515faabe5086b638f254b6b93d7
CRs-Fixed: 996988
helium project has limitation of not supporting LDPC on PHY-B,
but PHY-A does support this feature. Software design is in process
to handle this gracefully but till software design is ready, this
feature needs to be disabled from INI to avoid any confusion.
CRs-Fixed: 1029145
Change-Id: I8a3659f20414851cb394395225c301a90cd94f64
Read TLVs for each PHY per each HW MODE coming as part of service
ready extension event and decode them and store them in wma_handle for
later use.
CRs-Fixed: 1029145
Change-Id: I302ad442f660feb795d7a8f1353b5d820d26aac8
loop through each mac's cap per hw mode and derive final
ht cap and vht cap by either taking MIN or MAX value based
on the engineering requirement.
For backward compatibility reasons, if firmware doesn't
give any TLV for extended caps then use legay HT and VHT cap
values.
CRs-Fixed: 1029145
Change-Id: I3ad9b474c281f3dd371eb2b88b71e8af59fcd66d
Vendor cmd(QCA_NL80211_VENDOR_SUBCMD_SET_PROBABLE_OPER_CHANNEL) in supplicant
has been designed to notify the driver about operating channel right after go
negotiation is completed, so that driver can get going with HW mode
change little ahead of time before the change iface/add iface req comes
down from supplicant for the CLI role. But it looks like the cmd is
coming even before RoC cancellation is done for the completed
negotiation. So, this delays the HW mode change req in FW as FW thinks
the scan (on going RoC) is not complete yet. As a result it waits for the RoC to
finish before entertaining the HW mode change req.
To fix this situation, don't set probable operating channel till RoC
gets finished.
CRs-Fixed: 1025390
Change-Id: I8b3df2259f71cf51b8ffc8b9a50edad7fea81d13
In case of CCKM, the host is not passing specifics as to whether
it is WPA or RSN proto type which would be needed for the
firmware to do a proper LFR3 roaming. So, pass the necessary
information to the firmware and also ensure the backward
compatibility is still maintained with LFR2.0.
CRs-Fixed: 1020291
Change-Id: I220d2c1909a44fd7edb46127daec1165fca71ebe
epping_disable needed to check that contexts were
not null before trying to perform the disable opperations.
Change-Id: Ia8182b1deed1a6a1d2643f91660880fb52450e3d
CRs-Fixed: 1027691
BMI is logging every read/write in driver log buffer which
is leading to driver buffer overrun. Remove redundant log
messages from BMI such that driver log buffer can store more
useful control path log messages.
Change-Id: I7e21a9199b42cdbc60c3207ecf9d705e0a151da8
CRs-Fixed: 1031927
Enhance debug information related to scan results
like adding SSID and time stamp of beacon in logs
Change-Id: Ib85dffff39d0db69a695e8167b6a221b51ef7d45
CRs-Fixed: 1013236
All the regulatory and channel management functionality
moved to CDS.
Cleanup the SME redundant functionality related to channel
parameters generation and update all the code references
to CDF API's
Change-Id: Iaf4e15b4ebb7107d8bbf7a54e42f9ea9358dcdaf
CRs-Fixed: 994562
Currently the HDD code uses a variety of logging APIs. In qcacld-3.0
HDD should converge on a unified set of logging APIs. Update
wlan_hdd_stats.c to use the unified set of APIs.
Change-Id: I32c2bc3755b42693947a38808e510683b9477b44
CRs-Fixed: 937687
Initialize bad peer tx control data structure in WMA,
send down the initial configuration info to fw and
configure the peer status update setting in the tx_rx module.
CRs-Fixed: 975526
Change-Id: Ib380e10a0b343b6a8f9c2c0bf6d6dd602d2601c5
Add tx schedular module, tx classify module within the data SW,
tx frame queues logging, group credit support and
send-recieve tx frames instance for HL system.
CRs-Fixed: 975526
Change-Id: If1655d4d832f88e565ab946ef9e9719f256ab7b1
Add support for HTT instance creation, initialization and
deletion, Host -> Target and Target -> Host HTT messages
exchange, receive and transmit aspects of HTT.
CRs-Fixed: 975526
Change-Id: Ie66a83b6efe216df192b033c9d137a93fdce688f
In Kernel commit 3b06d27 ("cfg80211: Add multiple scan plans
for scheduled scan")
The interval in the sched_scan plan request is changed to second.
Driver needs to do the conversion to msec before set to firmware.
Also, driver can only support one sched_plan so far, so set this
back to wiphy and adds sanity check when request comes to driver.
Change-Id: Id725f2726e1caafe48c6b76d59a24f71ffa01af6
CRs-fixed: 1029203
qcacld-2.0 to qcacld-3.0 propagation
Calculate and add wlan phy mode for each channel in OEM channel
info response.
Also send ANI_MSG_PEER_STATUS_IND indication for STA mode when
STA gets connected.
Change-Id: I91363e90698cabda72028135eb7fe9adeb1fbc86
CRs-Fixed: 1007004
Fix calculation of sec_ch_offset. Also fix the check for
HT40 flag to calculate the channel BW. Also fix check for
secondary channel.
CRs-Fixed: 1022025
Change-Id: If37780ea64698ab616131a550cd877368c56faa6
Propagation from qcacld-2.0 to qcacld-3.0.
Add new service WMI_SERVICE_MARK_FIRST_WAKEUP_PACKET
Change-Id: I427fef8d8f2503c52d511fdae58fe410420e67a0
CRs-Fixed: 865207
Propagation from qcacld-2.0 to qcacld-3.0.
WMI changes for 11AX related BSS parameters
Extend the WoW wake event bitmap
Change-Id: I68367a8d688cdc9f85efe01a7c48856c8bab7220
CRs-Fixed: 865207
Propagation from qcacld-2.0 to qcacld-3.0
Define 2 sub-CCKM auth types
Deprecate WOW_NAN_RTT event and reason, and use their values
for WOW_OEM_RESPONSE
Change-Id: I0db10a599f4bbbdf23e5968fa5dab59b722efa30
CRs-Fixed: 865207
Propagation from qcacld-2.0 to qcacld-3.0
Fix union in WMI_MAC_PHY_CAPABILITIES
WMI changes to control transmit power for beacon frames
Change-Id: I4acd731ec8850766d4d47715ff78b813281d0b6a
CRs-Fixed: 865207
Propagation from qcacld-2.0 to qcacld-3.0
Vdev level rx filter of from-ds / to-ds / no-ds / ta / ra
frames.
Change-Id: I63ee1aeb2eba793e3a06c2632f43ea044ba33422
CRs-Fixed: 865207
Propagation from qcacld-2.0 to qcacld-3.0
Merge WMI_VDEV_VOW_ENABLED flag
Add a new config to set preferable audio during WLAN connection
Change-Id: I86ed461a5d3d6d7f48e5ce2eb9370771a619d667
CRs-Fixed: 865207
Propagation from qcacld-2.0 to qcacld-3.0
Add dbglog IDs for ARP and DHCP packets
WMI CMDID for dbglog time stamp sync
Move reason code from wmi to nan_msg.h
Change-Id: I2e6e837fade375ef86c0c4247490b44ec502be1b
CRs-Fixed: 865207
Dwell time can be modify based on channel congestion per scan
request.
Add changes to enable firmware to use scan control flag and
select dwell time optimization algorithm based on ini values.
Change-Id: Iea3de57c1b7d087442e4b8984b4184d24bb8c930
CRs-Fixed: 994443
qcacld-2.0 to qcacld-3.0 propagation
Currently for diag event EVENT_WLAN_STATUS, diag
structure only allocates 6 bytes for ssid, though
ssid can be upto 32 bytes.
Also for diag event EVENT_WLAN_SECURITY, event id is
filled as PTK and GTK req/rsp for unicast and broadcast
req/rsp. PTK,GTK request doesn't make sense for wep case.
As a part of change, increase ssid size to 32 and replace PTK,
GTK req/rsp event id with Unicast, Broadcast req/rsp respectively.
Change-Id: I5aad1875262dd73878cc8393d09de1b23953d3a2
CRs-Fixed: 921847
Set the correct link state in join failure processing so that
WMA processes the request and sends the vdev stop when the join
failure happens.
Change-Id: I4e5ddcbd7e7b2b0141904410adb66f228dab0046
CRs-Fixed: 1020982
Disable FEATURE_MEMDUMP in Kbuild.
FEATURE_MEMDUMP should be redesigned appropriately for
cld-3.0. Disable this feature until implementation is
complete.
Change-Id: I3190414ff32d8a75b07c2c311e257f4d388ef26d
CRs-Fixed: 1026747
Fix out of bound memory copy by allocating buffer for
required size.
When WMA structures are converted into wmi_unified_param
structure, required memory was not allocated and hence
invalid memory was referenced resulting in stack corruption.
Change-Id: I868300cba9326b0146d3afadc9fef6337877d58d
CRs-Fixed: 1024437
Revert the change merged while adding 160MHz support.
RM 5.0 FW was not handling phymode VHT20/40 in 2G correctly which
was resulting in an assert. This revert will now enable host to
associate in VHT20/40 modes in 2G. This change will revert
the Change-Id: I7e7f1a9c1ff82a567f278987dbbe14c5c8b9bb2e
Change-Id: If0f8fb71413e0aeb5d355c5bbb1f0626a18b8d6f
CRs-Fixed: 1014267
Datapath changes for WiSA specification.
- Multicast packets with 50000 as destination
port should go at 6Mbps.
- Multicast packets with 50001 as destination
port should go at 24Mbps.
Change-Id: Ic219f58f3e8b2f6863a275928429153defe63b5a
CRs-Fixed: 1010412