fixed fast roaming issue (#6)
added Handoff Suggestion & Band Steering updated Firmware version cleaned up README Reviewed-on: #6
This commit was merged in pull request #6.
This commit is contained in:
@@ -363,6 +363,8 @@ static struct json_object *build_vap_table(const uf_model_t *m)
|
||||
const char *ifname = NULL;
|
||||
int vlan_id = 0;
|
||||
int is_11r = 0;
|
||||
int band_steering = 0;
|
||||
int handoff_suggestions = 0;
|
||||
|
||||
if (json_object_object_get_ex(vap, "essid", &v)) essid = json_object_get_string(v);
|
||||
if (json_object_object_get_ex(vap, "name", &v)) vap_name = json_object_get_string(v);
|
||||
@@ -373,6 +375,10 @@ static struct json_object *build_vap_table(const uf_model_t *m)
|
||||
if (json_object_object_get_ex(vap, "vlan_id", &v)) vlan_id = json_object_get_int(v);
|
||||
if (json_object_object_get_ex(vap, "fast_roaming_enabled", &v))
|
||||
is_11r = json_object_get_boolean(v);
|
||||
if (json_object_object_get_ex(vap, "band_steering", &v))
|
||||
band_steering = json_object_get_boolean(v);
|
||||
if (json_object_object_get_ex(vap, "handoff_suggestions", &v))
|
||||
handoff_suggestions = json_object_get_boolean(v);
|
||||
|
||||
/* Map band → wlan interface and current channel */
|
||||
char wlan_iface[32] = "phy0-ap0";
|
||||
@@ -427,6 +433,12 @@ static struct json_object *build_vap_table(const uf_model_t *m)
|
||||
json_object_new_int(channel));
|
||||
json_object_object_add(o, "tx_power",
|
||||
json_object_new_int(tx_pwr));
|
||||
json_object_object_add(o, "band_steering",
|
||||
json_object_new_boolean(band_steering));
|
||||
json_object_object_add(o, "bss_transition",
|
||||
json_object_new_boolean(handoff_suggestions));
|
||||
json_object_object_add(o, "handoff_suggestions",
|
||||
json_object_new_boolean(handoff_suggestions));
|
||||
json_object_object_add(o, "num_sta",
|
||||
json_object_new_int(num_sta));
|
||||
json_object_object_add(o, "rx_bytes",
|
||||
|
||||
Reference in New Issue
Block a user