/external/libnl/python/examples/ |
iface.py | 3 import nl80211 14 nl80211.NL80211_ATTR_MAX, None) 15 if nl80211.NL80211_ATTR_WIPHY in attr: 16 thiswiphy = nl.nla_get_u32(attr[nl80211.NL80211_ATTR_WIPHY]) 18 if nl80211.NL80211_ATTR_IFNAME in attr: 19 print("\tinterface %s" % nl.nla_get_string(attr[nl80211.NL80211_ATTR_IFNAME])); 20 if nl80211.NL80211_ATTR_IFINDEX in attr: 21 print("\tifindex %d" % nl.nla_get_u32(attr[nl80211.NL80211_ATTR_IFINDEX])) 22 if nl80211.NL80211_ATTR_WDEV in attr: 23 print("\twdev 0x%lx" % nl.nla_get_u64(attr[nl80211.NL80211_ATTR_WDEV]) [all...] |
wiphy.py | 3 import nl80211 28 e, fattr = nl.py_nla_parse_nested(nl80211.NL80211_FREQUENCY_ATTR_MAX, attr, pol) 29 if nl80211.NL80211_FREQUENCY_ATTR_FREQ in fattr: 30 freq = nl.nla_get_u32(fattr[nl80211.NL80211_FREQUENCY_ATTR_FREQ]) 32 if nl80211.NL80211_FREQUENCY_ATTR_MAX_TX_POWER in fattr and not (nl80211.NL80211_FREQUENCY_ATTR_DISABLED in fattr): 33 sys.stdout.write(" (%.1f dBm)" % (0.01 * nl.nla_get_u32(fattr[nl80211.NL80211_FREQUENCY_ATTR_MAX_TX_POWER]))) 34 if nl80211.NL80211_FREQUENCY_ATTR_DISABLED in fattr: 39 e, battr = nl.py_nla_parse_nested(nl80211.NL80211_BAND_ATTR_MAX, attr, None) 41 if nl80211.NL80211_BAND_ATTR_FREQS in battr [all...] |
/device/generic/goldfish/wifi/ |
simulated_hostapd.conf | 23 # In case of madwifi, atheros, and nl80211 driver interfaces, an additional 30 # For nl80211, this parameter can be used to request the AP interface to be 36 # Driver interface type (hostap/wired/madwifi/test/none/nl80211/bsd); 37 # default: hostap). nl80211 is used with all Linux mac80211 drivers. 41 driver=nl80211 239 # used with driver=hostap or driver=nl80211, but not with driver=madwifi. 436 # (only supported with driver=nl80211) [all...] |
/external/autotest/client/deps/iwcap/src/ |
iwcap.c | 25 #include "nl80211.h" 56 struct genl_family *nl80211; member in struct:nl80211_state 81 state->nl80211 = genl_ctrl_search_by_name(state->nl_cache, "nl80211"); 82 if (!state->nl80211) { 83 fprintf(stderr, "nl80211 not found.\n"); 99 genl_family_put(state->nl80211); 523 genlmsg_put(msg, 0, 0, genl_family_get_id(state->nl80211), 0,
|
Makefile | 60 %.o: %.c nl80211.h
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/ |
dhdu_nl80211.c | 2 * nl80211 linux driver interface. 21 #include <linux/nl80211.h> 75 dhd_nli->nl_id = genl_ctrl_resolve(dhd_nli->nl, "nl80211"); 77 fprintf(stderr, "'nl80211' netlink not found\n"); 91 fprintf(stderr, "nl80211 connection failed\n");
|
/external/iw/ |
Makefile | 95 version.c: version.sh $(patsubst %.o,%.c,$(VERSION_OBJS)) nl80211.h iw.h Makefile \ 100 %.o: %.c iw.h nl80211.h
|
/test/vts-testcase/security/poc/target/kernel_wifi/32219453/ |
poc.cpp | 31 #include <linux/nl80211.h> 253 family_id = genl_ctrl_resolve(nl_sk, "nl80211");
|
/test/vts-testcase/security/poc/target/kernel_wifi/32402310/ |
poc.cpp | 46 #include <linux/nl80211.h> 177 family_id = genl_ctrl_resolve(nl_sk, "nl80211");
|
/device/google/cuttlefish_common/common/commands/wifi_relay/ |
wifi_relay.cpp | 27 #include <linux/nl80211.h>
|
/external/libpcap/ |
pcap-linux.c | 246 #include <linux/nl80211.h> 625 struct genl_family *nl80211; member in struct:nl80211_state 654 state->nl80211 = genl_ctrl_search_by_name(state->nl_cache, "nl80211"); 655 if (!state->nl80211) { 657 "%s: nl80211 not found", device); 673 genl_family_put(state->nl80211); 702 genlmsg_put(msg, 0, 0, genl_family_get_id(state->nl80211), 0, 812 genlmsg_put(msg, 0, 0, genl_family_get_id(state->nl80211), 0, [all...] |
/external/dhcpcd-6.8.2/ |
configure | 453 printf "Testing for nl80211 ... " 455 #include <linux/nl80211.h> 468 # Even though we have nl80211, we only use it as a fallback 470 # where the SSID associated to won't be reported by nl80211
|
if-linux.c | 88 #include <linux/nl80211.h> 1080 family = gnl_getfamily(ifp->ctx, "nl80211"); [all...] |