Question about FST(Fast Session Tranfer)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am trying to use FST on this network.

+---------------+  +---------------+
|   AP1(11g)    |  |   AP2(11a)    |
| 192.168.100.1 |  | 192.168.200.1 |
+--------+------+  +-------+-------+
          |                 |
          |(11g)            |(11a)
          |                 |
+--------+------+  +-------+-------+
|   STA1(11g)   |  |   STA2(11a)   |
| 192.168.100.2 |  | 192.168.200.2 |
+---------------+  +---------------+
(initiator=STA,old iface=STA1, new iface=STA2)

It looks succeeded because the state in log is
TRANSITION_DONE -> TRANSITION_CONFIRMED -> INITIAL.

After that, I expects the stream from STA1 to AP1 go through 11a path.
But ping from STA1 to AP1 go through 11g path.
ping from STA2 to AP2 go through 11a path also.

Is my expectation right ?


STA log
------------------
1504747870.876845: Successfully initialized wpa_supplicant
1504747870.912028: FST: bond0: wlx106f3f7ad418: cannot add MB IE: no backup ifaces
1504747870.912044: FST: bond0: wlx106f3f7ad418: cannot create MB IE
1504747870.912062: FST-EVENT-IFACE attached ifname=wlx106f3f7ad418 group=bond0
1504747870.956046: FST: bond0: wlx106f3f7ad418: mb_ctrl=12 band_id=2 op_class=0 chan=0 bssid=00:00:00:00:00:00 beacon_int=0 tsf_offs=[0 0 0 0 0 0 0 0] mb_cc=0x00 tmout=255
1504747870.956064: FST: bond0: wlx106f3f7ad418: mb_ctrl=12 band_id=4 op_class=0 chan=0 bssid=00:00:00:00:00:00 beacon_int=0 tsf_offs=[0 0 0 0 0 0 0 0] mb_cc=0x00 tmout=255
1504747870.956080: FST: bond0: wlx106f3f7ad4ce: mb_ctrl=12 band_id=2 op_class=0 chan=0 bssid=00:00:00:00:00:00 beacon_int=0 tsf_offs=[0 0 0 0 0 0 0 0] mb_cc=0x00 tmout=255
1504747870.956086: FST: bond0: wlx106f3f7ad4ce: mb_ctrl=12 band_id=4 op_class=0 chan=0 bssid=00:00:00:00:00:00 beacon_int=0 tsf_offs=[0 0 0 0 0 0 0 0] mb_cc=0x00 tmout=255
1504747870.956102: FST-EVENT-IFACE attached ifname=wlx106f3f7ad4ce group=bond0
1504747871.090393: wlx106f3f7ad418: SME: Trying to authenticate with 10:6f:3f:7a:d2:c4 (SSID='test_fst' freq=2412 MHz)
1504747871.214020: wlx106f3f7ad418: Trying to associate with 10:6f:3f:7a:d2:c4 (SSID='test_fst' freq=2412 MHz)
1504747872.137921: wlx106f3f7ad4ce: SME: Trying to authenticate with 10:6f:3f:7a:3d:ec (SSID='test_fst' freq=5180 MHz)
1504747872.262499: wlx106f3f7ad4ce: Trying to associate with 10:6f:3f:7a:3d:ec (SSID='test_fst' freq=5180 MHz)
1504747872.849878: wlx106f3f7ad4ce: SME: Trying to authenticate with 10:6f:3f:7a:3d:ec (SSID='test_fst' freq=5180 MHz)
1504747872.975932: wlx106f3f7ad4ce: Trying to associate with 10:6f:3f:7a:3d:ec (SSID='test_fst' freq=5180 MHz)
1504747872.990602: wlx106f3f7ad4ce: Associated with 10:6f:3f:7a:3d:ec
1504747872.990767: wlx106f3f7ad4ce: CTRL-EVENT-CONNECTED - Connection to 10:6f:3f:7a:3d:ec completed [id=0 id_str=]
1504747872.991021: FST: bond0: wlx106f3f7ad418: mb_ctrl=12 band_id=4 op_class=0 chan=36 bssid=10:6f:3f:7a:3d:ec beacon_int=0 tsf_offs=[0 0 0 0 0 0 0 0] mb_cc=0x00 tmout=255
1504747872.991058: FST: bond0: wlx106f3f7ad4ce: mb_ctrl=12 band_id=2 op_class=0 chan=0 bssid=00:00:00:00:00:00 beacon_int=0 tsf_offs=[0 0 0 0 0 0 0 0] mb_cc=0x00 tmout=255
1504747872.991065: FST: bond0: wlx106f3f7ad4ce: mb_ctrl=12 band_id=4 op_class=0 chan=0 bssid=00:00:00:00:00:00 beacon_int=0 tsf_offs=[0 0 0 0 0 0 0 0] mb_cc=0x00 tmout=255
1504747872.991090: FST-EVENT-PEER connected ifname=wlx106f3f7ad4ce peer_addr=10:6f:3f:7a:3d:ec
1504747872.991257: wlx106f3f7ad4ce: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
1504747876.897796: wlx106f3f7ad418: SME: Trying to authenticate with 10:6f:3f:7a:d2:c4 (SSID='test_fst' freq=2412 MHz)
1504747877.021202: wlx106f3f7ad418: Trying to associate with 10:6f:3f:7a:d2:c4 (SSID='test_fst' freq=2412 MHz)
1504747877.035125: wlx106f3f7ad418: Associated with 10:6f:3f:7a:d2:c4
1504747877.035297: wlx106f3f7ad418: CTRL-EVENT-CONNECTED - Connection to 10:6f:3f:7a:d2:c4 completed [id=0 id_str=]
1504747877.035506: FST: bond0: wlx106f3f7ad418: mb_ctrl=12 band_id=4 op_class=0 chan=36 bssid=10:6f:3f:7a:3d:ec beacon_int=0 tsf_offs=[0 0 0 0 0 0 0 0] mb_cc=0x00 tmout=255
1504747877.035543: FST: bond0: wlx106f3f7ad4ce: mb_ctrl=12 band_id=2 op_class=0 chan=1 bssid=10:6f:3f:7a:d2:c4 beacon_int=0 tsf_offs=[0 0 0 0 0 0 0 0] mb_cc=0x00 tmout=255
1504747877.035578: FST-EVENT-PEER connected ifname=wlx106f3f7ad418 peer_addr=10:6f:3f:7a:d2:c4
1504747877.035744: wlx106f3f7ad418: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
1504747933.979726: FST: Session 0 created
1504747964.650750: FST: 0 (0x00000000): [10:6f:3f:7a:d2:c4,10:6f:3f:7a:3d:ec] :wlx106f3f7ad418: initiating FST setup for wlx106f3f7ad4ce (llt=1000 ms)
1504747964.650900: FST: 0 (0x00000001): [10:6f:3f:7a:d2:c4,10:6f:3f:7a:3d:ec] :wlx106f3f7ad418: FST Setup Request sent
1504747964.650930: FST-EVENT-SESSION session_id=0 event_type=EVENT_FST_SESSION_STATE old_state=INITIAL new_state=SETUP_COMPLETION
1504747964.650935: FST: 0 (0x00000001): [10:6f:3f:7a:d2:c4,10:6f:3f:7a:3d:ec] :State: INITIAL => SETUP_COMPLETION
1504747964.971446: FST: 0 (0x00000001): [10:6f:3f:7a:d2:c4,10:6f:3f:7a:3d:ec] :wlx106f3f7ad418: FST Setup established for wlx106f3f7ad4ce (llt=1000)
1504747964.971479: FST-EVENT-SESSION session_id=0 event_type=EVENT_FST_ESTABLISHED
1504747978.349696: FST: 0 (0x00000001): [10:6f:3f:7a:d2:c4,10:6f:3f:7a:3d:ec] :initiating FST switch: wlx106f3f7ad418 => wlx106f3f7ad4ce
1504747978.349813: FST: 0 (0x00000001): [10:6f:3f:7a:d2:c4,10:6f:3f:7a:3d:ec] :wlx106f3f7ad4ce: FST Ack Request sent
1504747978.349843: FST-EVENT-SESSION session_id=0 event_type=EVENT_FST_SESSION_STATE old_state=SETUP_COMPLETION new_state=TRANSITION_DONE
1504747978.349848: FST: 0 (0x00000001): [10:6f:3f:7a:d2:c4,10:6f:3f:7a:3d:ec] :State: SETUP_COMPLETION => TRANSITION_DONE
1504747978.351321: FST-EVENT-SESSION session_id=0 event_type=EVENT_FST_SESSION_STATE old_state=TRANSITION_DONE new_state=TRANSITION_CONFIRMED
1504747978.351328: FST: 0 (0x00000001): [10:6f:3f:7a:d2:c4,10:6f:3f:7a:3d:ec] :State: TRANSITION_DONE => TRANSITION_CONFIRMED
1504747978.351357: FST-EVENT-SESSION session_id=0 event_type=EVENT_FST_SESSION_STATE old_state=TRANSITION_CONFIRMED new_state=INITIAL reason=REASON_SWITCH reject_code=NONE initiator=LOCAL
1504747978.351363: FST: 0 (0x00000001): [10:6f:3f:7a:d2:c4,10:6f:3f:7a:3d:ec] :State: TRANSITION_CONFIRMED => INITIAL
------------------

configs
------------------
[STA1 config]
fst_group_id=bond0
fst_priority=100
fst_llt=100

network={
        ssid="test_fst"
        key_mgmt=NONE
        scan_freq=2412
}

[STA2 config]
fst_group_id=bond0
fst_priority=100
fst_llt=100

network={
        ssid="test_fst"
        key_mgmt=NONE
        scan_freq=5180
}

[AP1 config]
interface=wlan1
driver=nl80211
ssid=test_fst
country_code=JP
hw_mode=g
channel=1
fst_group_id=bond0
fst_priority=100
fst_llt=100

[AP2 config]
interface=wlan2
driver=nl80211
ssid=test_fst
country_code=JP
hw_mode=a
channel=36
fst_group_id=bond0
fst_priority=100
fst_llt=100
------------------

commands
------------------
AP side
sudo ./git/hostap/hostapd/hostapd hostapd_fst_a.conf hostapd_fst_g.conf -g /var/run/hostapd/global -t
sudo ifconfig wlan1 192.168.100.1 #11g
sudo ifconfig wlan2 192.168.200.1 #11a

STA side
sudo ./git/hostap/wpa_supplicant/wpa_supplicant -i wlx106f3f7ad418 -D nl80211 -c fst_g.conf -N -i wlx106f3f7ad4ce -D nl80211 -c fst_a.conf -g /var/run/wpa_supplicant -t
sudo ifconfig wlx106f3f7ad418 192.168.100.2 #11g
sudo ifconfig wlx106f3f7ad4ce 192.168.200.2 #11a
ping -c 1 192.168.100.1
ping -c 1 192.168.200.1

STA side
sudo ./git/hostap/wpa_supplicant/wpa_cli -g /var/run/wpa_supplicant fst-manager session_add bond0
sudo ./git/hostap/wpa_supplicant/wpa_cli -g /var/run/wpa_supplicant fst-manager session_set 0 old_ifname=wlx106f3f7ad418
sudo ./git/hostap/wpa_supplicant/wpa_cli -g /var/run/wpa_supplicant fst-manager session_set 0 new_ifname=wlx106f3f7ad4ce
sudo ./git/hostap/wpa_supplicant/wpa_cli -g /var/run/wpa_supplicant fst-manager session_set 0 old_peer_addr=10:6f:3f:7a:d2:c4
sudo ./git/hostap/wpa_supplicant/wpa_cli -g /var/run/wpa_supplicant fst-manager session_set 0 new_peer_addr=10:6f:3f:7a:3d:ec
sudo ./git/hostap/wpa_supplicant/wpa_cli -g /var/run/wpa_supplicant fst-manager session_set 0 llt=1000

STA side
sudo ./git/hostap/wpa_supplicant/wpa_cli -g /var/run/wpa_supplicant fst-manager session_initiate 0

AP side
sudo ./git/hostap/hostapd/hostapd_cli -i global -s /var/run/hostapd fst session_respond 0 accept

STA side
sudo ./git/hostap/wpa_supplicant/wpa_cli -g /var/run/wpa_supplicant fst-manager session_transfer 0
------------------

Regards,
Masashi Honma.

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux