History

nl80211: add OCE scan and capability flags

Add Optimized Connectivity Experience (OCE) scan and capability flags. Some of them unique to OCE and some are stand alone. And add scan flags to enable/disable them.

Roee Zamir committed 9 years ago

Commit 2d23d071 parent ffa46292 files · +111 −63Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/nl80211.h+33−4
@@ -4914,6 +4914,15 @@ enum nl80211_feature_flags { · 4913 unmodified lines
49144914 * handshake with 802.1X in station mode (will pass EAP frames to the host
49154915 * and accept the set_pmk/del_pmk commands), doing it in the host might not
49164916 * be supported.
4917+ * @NL80211_EXT_FEATURE_FILS_MAX_CHANNEL_TIME: Driver is capable of overriding
4918+ * the max channel attribute in the FILS request params IE with the
4919+ * actual dwell time.
4920+ * @NL80211_EXT_FEATURE_ACCEPT_BCAST_PROBE_RESP: Driver accepts broadcast probe
4921+ * response
4922+ * @NL80211_EXT_FEATURE_OCE_PROBE_REQ_HIGH_TX_RATE: Driver supports sending
4923+ * the first probe request in each channel at rate of at least 5.5Mbps.
4924+ * @NL80211_EXT_FEATURE_OCE_PROBE_REQ_DEFERRAL_SUPPRESSION: Driver supports
4925+ * probe request tx deferral and suppression
49174926 *
49184927 * @NUM_NL80211_EXT_FEATURES: number of extended features.
49194928 * @MAX_NL80211_EXT_FEATURES: highest extended feature index.
@@ -4936,6 +4945,10 @@ enum nl80211_ext_feature_index { · 16 unmodified lines
49364945 NL80211_EXT_FEATURE_FILS_SK_OFFLOAD,
49374946 NL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_PSK,
49384947 NL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_1X,
4948+ NL80211_EXT_FEATURE_FILS_MAX_CHANNEL_TIME,
4949+ NL80211_EXT_FEATURE_ACCEPT_BCAST_PROBE_RESP,
4950+ NL80211_EXT_FEATURE_OCE_PROBE_REQ_HIGH_TX_RATE,
4951+ NL80211_EXT_FEATURE_OCE_PROBE_REQ_DEFERRAL_SUPPRESSION,
49394952
49404953 /* add new features before the definition below */
49414954 NUM_NL80211_EXT_FEATURES,
@@ -5012,12 +5025,28 @@ enum nl80211_timeout_reason { · 70 unmodified lines
50125025 * locally administered 1, multicast 0) is assumed.
50135026 * This flag must not be requested when the feature isn't supported, check
50145027 * the nl80211 feature flags for the device.
5028+ * @NL80211_SCAN_FLAG_FILS_MAX_CHANNEL_TIME: fill the dwell time in the FILS
5029+ * request parameters IE in the probe request
5030+ * @NL80211_SCAN_FLAG_ACCEPT_BCAST_PROBE_RESP: accept broadcast probe responses
5031+ * @NL80211_SCAN_FLAG_OCE_PROBE_REQ_HIGH_TX_RATE: send probe request frames at
5032+ * rate of at least 5.5M. In case non OCE AP is dicovered in the channel,
5033+ * only the first probe req in the channel will be sent in high rate.
5034+ * @NL80211_SCAN_FLAG_OCE_PROBE_REQ_DEFERRAL_SUPPRESSION: allow probe request
5035+ * tx deferral (dot11FILSProbeDelay shall be set to 15ms)
5036+ * and suppression (if it has received a broadcast Probe Response frame,
5037+ * Beacon frame or FILS Discovery frame from an AP that the STA considers
5038+ * a suitable candidate for (re-)association - suitable in terms of
5039+ * SSID and/or RSSI
50155040 */
50165041 enum nl80211_scan_flags {
5017− NL80211_SCAN_FLAG_LOW_PRIORITY = 1<<0,
5018− NL80211_SCAN_FLAG_FLUSH = 1<<1,
5019− NL80211_SCAN_FLAG_AP = 1<<2,
5020− NL80211_SCAN_FLAG_RANDOM_ADDR = 1<<3,
5042+ NL80211_SCAN_FLAG_LOW_PRIORITY = 1<<0,
5043+ NL80211_SCAN_FLAG_FLUSH = 1<<1,
5044+ NL80211_SCAN_FLAG_AP = 1<<2,
5045+ NL80211_SCAN_FLAG_RANDOM_ADDR = 1<<3,
5046+ NL80211_SCAN_FLAG_FILS_MAX_CHANNEL_TIME = 1<<4,
5047+ NL80211_SCAN_FLAG_ACCEPT_BCAST_PROBE_RESP = 1<<5,
5048+ NL80211_SCAN_FLAG_OCE_PROBE_REQ_HIGH_TX_RATE = 1<<6,
5049+ NL80211_SCAN_FLAG_OCE_PROBE_REQ_DEFERRAL_SUPPRESSION = 1<<7,
50215050 };
50225051
50235052 /**