bss->mld_indicate_disabled = atoi(pos);
#endif /* CONFIG_TESTING_OPTIONS */
#endif /* CONFIG_IEEE80211BE */
+ } else if (os_strcmp(buf, "i2r_lmr_policy") == 0) {
+ conf->i2r_lmr_policy = atoi(pos);
} else {
wpa_printf(MSG_ERROR,
"Line %d: unknown configuration item '%s'",
#urnm_mfpr=0
#urnm_mfpr_x20=0
+#i2r_lmr_policy: Policy for I2R LMR feedback
+# This indicates whether initiating stations are required to support the
+# capability to generate and transmit Initiator-to-Responder Location
+# Measurement Reports (I2R LMRs).
+# This parameter matches the dot11I2RLMRFeedbackPolicy MIB variable.
+#
+# When set to 1:
+# Do not require initiating stations to support I2R LMR generation and
+# transmission.
+#
+# When set to 0:
+# Request initiating stations to negotiate and support the transmission of
+# I2R LMRs during location measurement operations.
+#i2r_lmr_policy=1
+
##### IEEE 802.11r configuration ##############################################
# Mobility Domain identifier (dot11FTMobilityDomainID, MDID)
bool channel_usage;
bool peer_to_peer_twt;
+
+ /* Set I2R LMR policy to allow LMR response from ISTA */
+ bool i2r_lmr_policy;
};
#endif /* CONFIG_SAE_PK */
break;
case 12: /* Bits 96-103 */
+ if (hapd->iconf->i2r_lmr_policy)
+ *pos |= 0x02; /* Bit 97 - I2R LMR Feedback Policy */
if (hapd->iconf->peer_to_peer_twt)
*pos |= 0x10; /* Bit 100 - Peer to Peer TWT */
if (hapd->conf->known_sta_identification)