iw: add get regulatory domain support
PATCH v2 1/1 iw: add get regulatory domain support
Signed-off-by Luis R. Rodriguez <[email protected]>
---
This v2 remove silly sprintfs.
COPYING | 2 +- nl80211.h | 4 ++ reg.c | 99 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 104 insertions(+), 1 deletions(-)
COPYING +1 -1
@@ -1,7 +1,7 @@ Copyright (c) 2007, 2008 Johannes Berg Copyright (c) 2007 Andy Lutomirski Copyright (c) 2007 Mike Kershaw -Copyright (c) 2008 Luis R. Rodriguez +Copyright (c) 2008-2009 Luis R. Rodriguez Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above
nl80211.h +4 -0
@@ -113,6 +113,8 @@* @NL80211_CMD_SET_BSS: Set BSS attributes for BSS identified by * %NL80211_ATTR_IFINDEX. * +* @NL80211_CMD_GET_REG: ask the wireless core to send us its currently set +* regulatory domain. * @NL80211_CMD_SET_REG: Set current regulatory domain. CRDA sends this command * after being queried by the kernel. CRDA replies by sending a regulatory * domain structure which consists of %NL80211_ATTR_REG_ALPHA set to our
@@ -188,6 +190,8 @@ enum nl80211_commands {NL80211_CMD_SET_MGMT_EXTRA_IE , + NL80211_CMD_GET_REG, +/* add new commands above here */ /* used to define NL80211_CMD_MAX below */
reg.c +99 -0
108 lines not on this page · raw message
Signature · 1 line
1.6.1.rc3.51.g5832d