|
@@ -1546,6 +1546,7 @@ mwifiex_cmd_tdls_oper(struct mwifiex_private *priv,
|
|
|
struct mwifiex_ie_types_extcap *extcap;
|
|
|
struct mwifiex_ie_types_vhtcap *vht_capab;
|
|
|
struct mwifiex_ie_types_aid *aid;
|
|
|
+ struct mwifiex_ie_types_tdls_idle_timeout *timeout;
|
|
|
u8 *pos, qos_info;
|
|
|
u16 config_len = 0;
|
|
|
struct station_parameters *params = priv->sta_params;
|
|
@@ -1643,6 +1644,12 @@ mwifiex_cmd_tdls_oper(struct mwifiex_private *priv,
|
|
|
config_len += sizeof(struct mwifiex_ie_types_aid);
|
|
|
}
|
|
|
|
|
|
+ timeout = (void *)(pos + config_len);
|
|
|
+ timeout->header.type = cpu_to_le16(TLV_TYPE_TDLS_IDLE_TIMEOUT);
|
|
|
+ timeout->header.len = cpu_to_le16(sizeof(timeout->value));
|
|
|
+ timeout->value = cpu_to_le16(MWIFIEX_TDLS_IDLE_TIMEOUT);
|
|
|
+ config_len += sizeof(struct mwifiex_ie_types_tdls_idle_timeout);
|
|
|
+
|
|
|
break;
|
|
|
default:
|
|
|
dev_err(priv->adapter->dev, "Unknown TDLS operation\n");
|