@@ -126,7 +126,7 @@ struct station {
bool preparing_roam : 1;
bool roam_scan_full : 1;
bool signal_low : 1;
- bool ap_directed_roaming : 1;
+ bool force_roam : 1;
bool scanning : 1;
bool autoconnect : 1;
bool autoconnect_can_start : 1;
@@ -2114,7 +2114,7 @@ static void station_roam_retry(struct station *station)
*/
station->preparing_roam = false;
station->roam_scan_full = false;
- station->ap_directed_roaming = false;
+ station->force_roam = false;
if (station->signal_low)
station_roam_timeout_rearm(station, roam_retry_interval);
@@ -2145,7 +2145,7 @@ static void station_roam_failed(struct station *station)
* We were told by the AP to roam, but failed. Try ourselves or
* wait for the AP to tell us to roam again
*/
- if (station->ap_directed_roaming)
+ if (station->force_roam)
goto delayed_retry;
/*
@@ -2425,7 +2425,7 @@ static bool station_try_next_transition(struct station *station,
util_address_to_string(bss->addr));
/* Reset AP roam flag, at this point the roaming behaves the same */
- station->ap_directed_roaming = false;
+ station->force_roam = false;
/* Can we use Fast Transition? */
if (station_can_fast_transition(hs, bss) && !no_ft)
@@ -2583,7 +2583,7 @@ static bool station_roam_scan_notify(int err, struct l_queue *bss_list,
* to occur.
*/
bss = l_queue_find(bss_list, bss_match_bssid, current_bss->addr);
- if (bss && !station->ap_directed_roaming) {
+ if (bss && !station->force_roam) {
cur_bss_rank = bss->rank;
if (hs->mde && bss->mde_present && l_get_le16(bss->mde) == mdid)
@@ -2961,18 +2961,18 @@ static void station_ap_directed_roam(struct station *station,
MAC_STR(hdr->address_3));
/*
- * The ap_directed_roaming flag forces IWD to roam if there are any
+ * The force_roam flag forces IWD to roam if there are any
* candidates, even if they are worse than the current BSS. This isn't
* always a good idea since we may be associated to the best BSS. Where
* this does matter is if the AP indicates its going down or will be
* disassociating us. If either of these bits are set, set the
- * ap_directed_roaming flag. Otherwise still try roaming but don't
+ * force_roam flag. Otherwise still try roaming but don't
* treat it any different than a normal roam.
*/
if (req_mode & (WNM_REQUEST_MODE_DISASSOCIATION_IMMINENT |
WNM_REQUEST_MODE_TERMINATION_IMMINENT |
WNM_REQUEST_MODE_ESS_DISASSOCIATION_IMMINENT))
- station->ap_directed_roaming = true;
+ station->force_roam = true;
if (req_mode & WNM_REQUEST_MODE_TERMINATION_IMMINENT) {
if (pos + 12 > body_len)