Add functionality to update the connection parameters when in connected state, so that driver/firmware uses the updated parameters for subsequent roaming. This is for drivers that support internal BSS selection and roaming. The new command does not change the current association state, i.e., it can be used to update IE contents for future (re)associations without causing an immediate disassociation or reassociation with the current BSS. This commit implements the required functionality for updating IEs for (Re)Association Request frame only. Other parameters can be added in future when required.
Showing the changes to include/uapi/linux (1 of 5 files). Show all
Unified · Split
| @@ -888,6 +888,12 @@ · 887 unmodified lines | |||
| 888 | * This will contain a %NL80211_ATTR_NAN_MATCH nested attribute and | 888 | * This will contain a %NL80211_ATTR_NAN_MATCH nested attribute and |
| 889 | * %NL80211_ATTR_COOKIE. | 889 | * %NL80211_ATTR_COOKIE. |
| 890 | * | 890 | * |
| 891 | * @NL80211_CMD_UPDATE_CONNECT_PARAMS: Update one or more connect parameters | ||
| 892 | * for subsequent roaming cases if the driver or firmware uses internal | ||
| 893 | * BSS selection. This command can be issued only while connected and it | ||
| 894 | * does not result in a change for the current association. Currently, | ||
| 895 | * only the %NL80211_ATTR_IE data is used and updated with this command. | ||
| 896 | * | ||
| 891 | * @NL80211_CMD_MAX: highest used command number | 897 | * @NL80211_CMD_MAX: highest used command number |
| 892 | * @__NL80211_CMD_AFTER_LAST: internal use | 898 | * @__NL80211_CMD_AFTER_LAST: internal use |
| 893 | */ | 899 | */ |
| @@ -1085,6 +1091,8 @@ enum nl80211_commands { · 191 unmodified lines | |||
| 1085 | 1091 | ||
| 1086 | NL80211_CMD_SET_MULTICAST_TO_UNICAST, | 1092 | NL80211_CMD_SET_MULTICAST_TO_UNICAST, |
| 1087 | 1093 | ||
| 1094 | NL80211_CMD_UPDATE_CONNECT_PARAMS, | ||
| 1095 | |||
| 1088 | /* add new commands above here */ | 1096 | /* add new commands above here */ |
| 1089 | 1097 | ||
| 1090 | /* used to define NL80211_CMD_MAX below */ | 1098 | /* used to define NL80211_CMD_MAX below */ |