소스 검색

qca-wifi: Pass 11k/v action frames to Hostapd

Pass BTM Query, Response and Neighbor Report Request
to Hostapd if corresponding flag is enabled. By default
handling will be in driver.

Change-Id: Ic7fc1acf26329a48695b3daa40afe04c9e2040b8
Anirban Sirkhell 4 년 전
부모
커밋
a646d3ba9d
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      tools/linux/cfg80211_ven_cmd.h

+ 3 - 0
tools/linux/cfg80211_ven_cmd.h

@@ -783,6 +783,7 @@ enum {
 	IEEE80211_PARAM_DISABLE_INACT_PROBING      = 722, /* Disable FW inactivity Probing behavior */
 	IEEE80211_PARAM_PRB_RETRY                  = 723,   /* Set/Get probe-response frame retry limit */
 	IEEE80211_PARAM_PEER_AUTHORIZE             = 724, /* Enable port authorization */
+	IEEE80211_PARAM_FWD_ACTION_FRAMES_TO_APP   = 725,   /* Forward 11k/v frames to Hostapd instead of handling in driver */
 };
 
 enum {
@@ -2250,6 +2251,8 @@ struct vendor_commands vap_vendor_cmds[] = {
 	{"g_disable_fw_inact_probe",  IEEE80211_PARAM_DISABLE_INACT_PROBING, GET_PARAM, 0},
 	{"peer_authorize ",     IEEE80211_PARAM_PEER_AUTHORIZE, SET_PARAM, 1},
 	{"g_peer_authorize ",     IEEE80211_PARAM_PEER_AUTHORIZE, GET_PARAM, 0},
+	{"fwd_act_app",               IEEE80211_PARAM_FWD_ACTION_FRAMES_TO_APP, SET_PARAM, 1},
+	{"g_fwd_act_app",             IEEE80211_PARAM_FWD_ACTION_FRAMES_TO_APP, GET_PARAM, 0},
 };
 
 struct vendor_commands radio_vendor_cmds[] = {