if (ciphers & IWINFO_CIPHER_CCMP)
pos += sprintf(pos, "CCMP, ");
+ if (ciphers & IWINFO_CIPHER_GCMP)
+ pos += sprintf(pos, "GCMP, ");
+
if (ciphers & IWINFO_CIPHER_WRAP)
pos += sprintf(pos, "WRAP, ");
lua_pushnumber(L, (e->signal - 0x100));
lua_setfield(L, -2, "signal");
- /* BSS load */
- if (e->has_bss_load) {
- lua_pushnumber(L, e->station_count);
- lua_setfield(L, -2, "station_count");
-
- lua_pushnumber(L, e->channel_utilization);
- lua_setfield(L, -2, "channel_utilization");
-
- lua_pushnumber(L, e->admission_capacity);
- lua_setfield(L, -2, "admission_capacity");
- }
-
/* Crypto */
iwinfo_L_cryptotable(L, &e->crypto);
lua_setfield(L, -2, "encryption");
lua_pushboolean(L, hwmodes & IWINFO_80211_AD);
lua_setfield(L, -2, "ad");
+ lua_pushboolean(L, hwmodes & IWINFO_80211_AX);
+ lua_setfield(L, -2, "ax");
+
return 1;
}