[DTV00841433] misc: Add option in Makefile to disable roaming feature

[Description]
Add option in Makefile to disable roaming feature
If wiphy is registered with WIPHY_FLAG_SUPPORTS_FW_ROAM, wpa_supplicant
does not set frequency while selecting AP. When STA and P2P is running
simultaneously, wpa_supplicant will detect frequency conflict always.
On most Android devices, wpa_supplicant initiates scanning and AP
selection. It is better to disable roaming feature by default.

1. To link WIPHY_FLAG_SUPPORTS_FW_ROAM with CFG_SUPPORT_ROAMING.
2. To disable roaming feature by set CFG_SUPPORT_ROAMING=0 in Makefile.

Change-Id: I528321e25a81e64088327ca4fdcb89f1adf10587
CR-Id: DTV00841433
Signed-off-by: guo-jie.wang <guo-jie.wang@mediatek.com>
3 files changed