mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
qcacmn: set INTER_BSS_PEER flag for NAWDS peer in peer assoc
Set WMI_PEER_INTER_BSS_PEER peer flag in the fixed param in WMI_PEER_ASSOC to differentiate between inter-bss and intra-bss peer. Change-Id: Ic3f54646bfcf988ce53c3d581bacea65070a5036
This commit is contained in:
parent
853a2cda71
commit
f2c446e2ca
2 changed files with 5 additions and 1 deletions
|
|
@ -1071,7 +1071,8 @@ struct peer_assoc_params {
|
|||
auth_flag:1,
|
||||
safe_mode_enabled:1,
|
||||
amsdu_disable:1,
|
||||
p2p_capable_sta:1;
|
||||
p2p_capable_sta:1,
|
||||
inter_bss_peer:1;
|
||||
/* Use common structure */
|
||||
uint8_t peer_mac[QDF_MAC_ADDR_SIZE];
|
||||
bool he_flag;
|
||||
|
|
|
|||
|
|
@ -2436,6 +2436,9 @@ static inline void copy_peer_flags_tlv(
|
|||
if (param->safe_mode_enabled)
|
||||
cmd->peer_flags &=
|
||||
~(WMI_PEER_NEED_PTK_4_WAY | WMI_PEER_NEED_GTK_2_WAY);
|
||||
/* inter BSS peer */
|
||||
if (param->inter_bss_peer)
|
||||
cmd->peer_flags |= WMI_PEER_INTER_BSS_PEER;
|
||||
/* Disable AMSDU for station transmit, if user configures it */
|
||||
/* Disable AMSDU for AP transmit to 11n Stations, if user configures
|
||||
* it
|
||||
|
|
|
|||
Loading…
Reference in a new issue