|
@@ -166,6 +166,7 @@ struct ieee80211_low_level_stats {
|
|
|
* that it is only ever disabled for station mode.
|
|
|
* @BSS_CHANGED_IDLE: Idle changed for this BSS/interface.
|
|
|
* @BSS_CHANGED_SSID: SSID changed for this BSS (AP mode)
|
|
|
+ * @BSS_CHANGED_AP_PROBE_RESP: Probe Response changed for this BSS (AP mode)
|
|
|
*/
|
|
|
enum ieee80211_bss_change {
|
|
|
BSS_CHANGED_ASSOC = 1<<0,
|
|
@@ -184,6 +185,7 @@ enum ieee80211_bss_change {
|
|
|
BSS_CHANGED_QOS = 1<<13,
|
|
|
BSS_CHANGED_IDLE = 1<<14,
|
|
|
BSS_CHANGED_SSID = 1<<15,
|
|
|
+ BSS_CHANGED_AP_PROBE_RESP = 1<<16,
|
|
|
|
|
|
/* when adding here, make sure to change ieee80211_reconfig */
|
|
|
};
|
|
@@ -2674,6 +2676,19 @@ static inline struct sk_buff *ieee80211_beacon_get(struct ieee80211_hw *hw,
|
|
|
return ieee80211_beacon_get_tim(hw, vif, NULL, NULL);
|
|
|
}
|
|
|
|
|
|
+/**
|
|
|
+ * ieee80211_proberesp_get - retrieve a Probe Response template
|
|
|
+ * @hw: pointer obtained from ieee80211_alloc_hw().
|
|
|
+ * @vif: &struct ieee80211_vif pointer from the add_interface callback.
|
|
|
+ *
|
|
|
+ * Creates a Probe Response template which can, for example, be uploaded to
|
|
|
+ * hardware. The destination address should be set by the caller.
|
|
|
+ *
|
|
|
+ * Can only be called in AP mode.
|
|
|
+ */
|
|
|
+struct sk_buff *ieee80211_proberesp_get(struct ieee80211_hw *hw,
|
|
|
+ struct ieee80211_vif *vif);
|
|
|
+
|
|
|
/**
|
|
|
* ieee80211_pspoll_get - retrieve a PS Poll template
|
|
|
* @hw: pointer obtained from ieee80211_alloc_hw().
|