qcacmn: Add support for initiate pasn auth vendor command
Add support for initiate pasn authentication using the vendor command: QCA_NL80211_VENDOR_SUBCMD_PASN Fill the below required attributes to initiate PASN: QCA_WLAN_VENDOR_ATTR_PASN_ACTION QCA_WLAN_VENDOR_ATTR_PASN_PEERS QCA_WLAN_VENDOR_ATTR_PASN_PEER_MAC_ADDR QCA_WLAN_VENDOR_ATTR_PASN_PEER_SRC_ADDR Change-Id: If33f54eafe5986b4571cc21a80fb0b61578db116 CRs-Fixed: 3232261
This commit is contained in:

committed by
Madan Koyyalamudi

orang tua
93bf7e1fb1
melakukan
38b8236ddc
@@ -28,6 +28,7 @@
|
||||
#include "qdf_status.h"
|
||||
#include <wlan_objmgr_cmn.h>
|
||||
#include "wifi_pos_public_struct.h"
|
||||
#include "wlan_cfg80211.h"
|
||||
|
||||
/* forward declaration */
|
||||
struct wifi_pos_ch_info;
|
||||
@@ -35,6 +36,12 @@ struct wlan_objmgr_psoc;
|
||||
struct wifi_pos_driver_caps;
|
||||
|
||||
#ifdef WIFI_POS_CONVERGED
|
||||
#define FEATURE_WIFI_POS_11AZ_AUTH_EVENTS \
|
||||
[QCA_NL80211_VENDOR_SUBCMD_PASN_AUTH_STATUS_INDEX] = { \
|
||||
.vendor_id = QCA_NL80211_VENDOR_ID, \
|
||||
.subcmd = QCA_NL80211_VENDOR_SUBCMD_PASN, \
|
||||
},
|
||||
|
||||
/**
|
||||
* os_if_wifi_pos_register_nl() - abstration API to register callback with GENL
|
||||
* socket.
|
||||
@@ -80,6 +87,8 @@ void os_if_wifi_pos_send_peer_status(struct qdf_mac_addr *peer_mac,
|
||||
int os_if_wifi_pos_populate_caps(struct wlan_objmgr_psoc *psoc,
|
||||
struct wifi_pos_driver_caps *caps);
|
||||
#else
|
||||
#define FEATURE_WIFI_POS_11AZ_AUTH_EVENTS
|
||||
|
||||
static inline int os_if_wifi_pos_register_nl(void)
|
||||
{
|
||||
return 0;
|
||||
|
@@ -37,9 +37,7 @@ struct wifi_pos_osif_ops {
|
||||
uint8_t num_pasn_peers,
|
||||
bool is_initiate_pasn);
|
||||
};
|
||||
#endif
|
||||
|
||||
#if defined(WIFI_POS_CONVERGED) && defined(WLAN_FEATURE_RTT_11AZ_SUPPORT)
|
||||
/**
|
||||
* osif_wifi_pos_register_ops() - Register Wifi-Pos module OS_IF callbacks
|
||||
* @psoc: Pointer to PSOC obj
|
||||
|
Reference in New Issue
Block a user