一、搭建无缝Roaming环境
1.主路由器的频道、SSID、加密类型、加密密码与副路由器保持一致;
2.主路由器选择DHCP分配IP地址;
3.副路由器关闭DHCP、配置一个主路由器网段的IP地址,主副路由器之间通过Lan2Lan口连接。
二、Android相关的Roaming
1.wpa_supplicant的log如下
D/wpa_supplicant( 1551): nl80211: Drv Event 47 (NL80211_CMD_ROAM) received for wlan0
D/wpa_supplicant( 1551): nl80211: Ignore roam event (cmd=47), device will use vendor event roam+auth
2.kernel的log如下
I/[scheduler_threa][0xaaf42bea][05:13:37.599197] wlan( 0): [1553:E:HDD] hdd_roam_deregister_sta: 1638: cdp_clear_peer() failed for staid 0. Status(10) [0x0000000A]