* [RFC 1/5] cfg80211: allow following country IE power for custom regdom cards
2011-11-23 15:40 [RFC 0/5] wireless: applying country IE and reg changes immediately Luis R. Rodriguez
@ 2011-11-23 15:40 ` Luis R. Rodriguez
2011-11-23 15:40 ` [RFC 2/5] cfg80211: add support to immediately apply reg settings Luis R. Rodriguez
` (3 subsequent siblings)
4 siblings, 0 replies; 11+ messages in thread
From: Luis R. Rodriguez @ 2011-11-23 15:40 UTC (permalink / raw)
To: linux-wireless
Cc: Luis R. Rodriguez, compat, Paul Stewart, Rajkumar Manoharan,
Senthilkumar Balasubramanian
By definition WIPHY_FLAG_STRICT_REGULATORY was intended to allow the
wiphy to adjust itself to the country IE power information if the
card had no regulatory data but we had no way to tell cfg80211 that if
the card also had its own custom regulatory domain (these are typically
custom world regulatory domains) that we want to follow the country IE's
noted values for power for each channel. We add support for this and
document it.
This is not a critical fix but a performance optimization for cards
with custom regulatory domains that associate to an AP with sends
out country IEs with a higher EIRP than the one on the custom
regulatory domain. In practice the only driver affected right now
are the Atheros drivers as they are the only drivers using both
WIPHY_FLAG_STRICT_REGULATORY and WIPHY_FLAG_CUSTOM_REGULATORY --
used on cards that have an Atheros world regulatory domain. Cards
that have been programmed to follow a country specifically will not
follow the country IE power. So although not a stable fix distributions
should consider cherry picking this.
Please do consider though that although this does update the channel
max power, the hardware will not trigger that setting until another
hardware operation will be performed to kick the hardware. This
varies by driver. For mac80211 this means until we change channel
for example, or apply wiphy attributes, etc, anything that calls
hw_config().
Cc: compat@orbit-lab.org
Cc: Paul Stewart <pstew@google.com>
Cc: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
Cc: Senthilkumar Balasubramanian <senthilb@qca.qualcomm.com>
Reported-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
---
include/net/cfg80211.h | 4 +++-
net/wireless/reg.c | 20 ++++++++++++++++----
2 files changed, 19 insertions(+), 5 deletions(-)
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index a992782..d21d764 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -1684,7 +1684,9 @@ struct cfg80211_ops {
* regulatory domain no user regulatory domain can enable these channels
* at a later time. This can be used for devices which do not have
* calibration information guaranteed for frequencies or settings
- * outside of its regulatory domain.
+ * outside of its regulatory domain. If used in combination with
+ * WIPHY_FLAG_CUSTOM_REGULATORY the inspected country IE power settings
+ * will be followed.
* @WIPHY_FLAG_DISABLE_BEACON_HINTS: enable this if your driver needs to ensure
* that passive scan flags and beaconing flags may not be lifted by
* cfg80211 due to regulatory beacon hints. For more information on beacon
diff --git a/net/wireless/reg.c b/net/wireless/reg.c
index 6049050..3f9f318 100644
--- a/net/wireless/reg.c
+++ b/net/wireless/reg.c
@@ -870,10 +870,22 @@ static void handle_channel(struct wiphy *wiphy,
chan->flags = flags | bw_flags | map_regdom_flags(reg_rule->flags);
chan->max_antenna_gain = min(chan->orig_mag,
(int) MBI_TO_DBI(power_rule->max_antenna_gain));
- if (chan->orig_mpwr)
- chan->max_power = min(chan->orig_mpwr,
- (int) MBM_TO_DBM(power_rule->max_eirp));
- else
+ if (chan->orig_mpwr) {
+ /*
+ * Devices that have their own custom regulatory domain
+ * but also use WIPHY_FLAG_STRICT_REGULATORY will follow the
+ * passed country IE power settings.
+ */
+ if (initiator == NL80211_REGDOM_SET_BY_COUNTRY_IE &&
+ wiphy->flags & WIPHY_FLAG_CUSTOM_REGULATORY &&
+ wiphy->flags & WIPHY_FLAG_STRICT_REGULATORY) {
+ chan->max_power =
+ MBM_TO_DBM(power_rule->max_eirp);
+ } else {
+ chan->max_power = min(chan->orig_mpwr,
+ (int) MBM_TO_DBM(power_rule->max_eirp));
+ }
+ } else
chan->max_power = (int) MBM_TO_DBM(power_rule->max_eirp);
}
--
1.7.4.15.g7811d
^ permalink raw reply related [flat|nested] 11+ messages in thread* [RFC 2/5] cfg80211: add support to immediately apply reg settings
2011-11-23 15:40 [RFC 0/5] wireless: applying country IE and reg changes immediately Luis R. Rodriguez
2011-11-23 15:40 ` [RFC 1/5] cfg80211: allow following country IE power for custom regdom cards Luis R. Rodriguez
@ 2011-11-23 15:40 ` Luis R. Rodriguez
2011-11-24 16:44 ` Johannes Berg
2011-11-23 15:40 ` [RFC 3/5] mac80211: add support for NL80211_TX_POWER_REG Luis R. Rodriguez
` (2 subsequent siblings)
4 siblings, 1 reply; 11+ messages in thread
From: Luis R. Rodriguez @ 2011-11-23 15:40 UTC (permalink / raw)
To: linux-wireless; +Cc: Luis R. Rodriguez
It is useful to apply reguatory settings immediately. We already
handle applying regulatory hints immediatey for most hints but
for user hints and country IE hints we want to kick hardware
immediately to make these changes take effect. This adds supports
to let us kick hardware to make the changes take effect as soon
as possible.
Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
---
include/linux/nl80211.h | 4 ++++
net/wireless/core.c | 23 +++++++++++++++++++++++
net/wireless/core.h | 2 ++
net/wireless/nl80211.c | 5 +++++
net/wireless/reg.c | 8 ++++++++
5 files changed, 42 insertions(+), 0 deletions(-)
diff --git a/include/linux/nl80211.h b/include/linux/nl80211.h
index 97bfebf..5f68f60 100644
--- a/include/linux/nl80211.h
+++ b/include/linux/nl80211.h
@@ -2452,11 +2452,15 @@ enum nl80211_cqm_rssi_threshold_event {
* @NL80211_TX_POWER_AUTOMATIC: automatically determine transmit power
* @NL80211_TX_POWER_LIMITED: limit TX power by the mBm parameter
* @NL80211_TX_POWER_FIXED: fix TX power to the mBm parameter
+ * @NL80211_TX_POWER_REG: adjust tx power based on the latest
+ * regulatory update. The driver must inspect the chan->max_power,
+ * the mBm power passed will always be 0 and can be ignored.
*/
enum nl80211_tx_power_setting {
NL80211_TX_POWER_AUTOMATIC,
NL80211_TX_POWER_LIMITED,
NL80211_TX_POWER_FIXED,
+ NL80211_TX_POWER_REG,
};
/**
diff --git a/net/wireless/core.c b/net/wireless/core.c
index ccdfed8..9cac8c3 100644
--- a/net/wireless/core.c
+++ b/net/wireless/core.c
@@ -478,6 +478,29 @@ static int wiphy_verify_combinations(struct wiphy *wiphy)
return 0;
}
+/*
+ * Kicks the hardware to apply immediately any needed regulatory
+ * changes. This is an optimization to ensure values are propagated
+ * to hardware right away. Most regulatory hints are applied immediately
+ * but for country IE hints and user hints this will ensure we apply the
+ * changes immediately.
+ */
+int wiphy_reg_config_update(struct wiphy *wiphy)
+{
+ int r;
+ struct cfg80211_registered_device *rdev = wiphy_to_dev(wiphy);
+
+ if (!rdev || !rdev->ops->set_tx_power)
+ return -EINVAL;
+ r = rdev->ops->set_tx_power(wiphy, NL80211_TX_POWER_REG, 0);
+ /*
+ * XXX: trigger disconnect if operating channel / channel type
+ * is not allowed due to a new regulatory update. What do we
+ * want to do here?
+ */
+ return r;
+}
+
int wiphy_register(struct wiphy *wiphy)
{
struct cfg80211_registered_device *rdev = wiphy_to_dev(wiphy);
diff --git a/net/wireless/core.h b/net/wireless/core.h
index fb08c28..6c852d3 100644
--- a/net/wireless/core.h
+++ b/net/wireless/core.h
@@ -462,6 +462,8 @@ int ieee80211_get_ratemask(struct ieee80211_supported_band *sband,
int cfg80211_validate_beacon_int(struct cfg80211_registered_device *rdev,
u32 beacon_int);
+int wiphy_reg_config_update(struct wiphy *wiphy);
+
#ifdef CONFIG_CFG80211_DEVELOPER_WARNINGS
#define CFG80211_DEV_WARN_ON(cond) WARN_ON(cond)
#else
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c
index a1cabde..3dd2e91 100644
--- a/net/wireless/nl80211.c
+++ b/net/wireless/nl80211.c
@@ -1329,6 +1329,11 @@ static int nl80211_set_wiphy(struct sk_buff *skb, struct genl_info *info)
idx = NL80211_ATTR_WIPHY_TX_POWER_SETTING;
type = nla_get_u32(info->attrs[idx]);
+ if (type == NL80211_TX_POWER_REG) {
+ result = -EOPNOTSUPP;
+ goto bad_res;
+ }
+
if (!info->attrs[NL80211_ATTR_WIPHY_TX_POWER_LEVEL] &&
(type != NL80211_TX_POWER_AUTOMATIC)) {
result = -EINVAL;
diff --git a/net/wireless/reg.c b/net/wireless/reg.c
index 3f9f318..38b1214 100644
--- a/net/wireless/reg.c
+++ b/net/wireless/reg.c
@@ -1142,6 +1142,7 @@ static void wiphy_update_regulatory(struct wiphy *wiphy,
enum nl80211_reg_initiator initiator)
{
enum ieee80211_band band;
+ int r;
assert_reg_lock();
@@ -1159,6 +1160,13 @@ static void wiphy_update_regulatory(struct wiphy *wiphy,
reg_process_ht_flags(wiphy);
if (wiphy->reg_notifier)
wiphy->reg_notifier(wiphy, last_request);
+
+ r = wiphy_reg_config_update(wiphy);
+ if (!r) {
+ REG_DBG_PRINT("Unable to immediately apply "
+ "regulatory updates on %s\n",
+ wiphy_name(wiphy));
+ }
}
void regulatory_update(struct wiphy *wiphy,
--
1.7.4.15.g7811d
^ permalink raw reply related [flat|nested] 11+ messages in thread* Re: [RFC 2/5] cfg80211: add support to immediately apply reg settings
2011-11-23 15:40 ` [RFC 2/5] cfg80211: add support to immediately apply reg settings Luis R. Rodriguez
@ 2011-11-24 16:44 ` Johannes Berg
2011-11-24 16:50 ` Luis R. Rodriguez
0 siblings, 1 reply; 11+ messages in thread
From: Johannes Berg @ 2011-11-24 16:44 UTC (permalink / raw)
To: Luis R. Rodriguez; +Cc: linux-wireless
On Wed, 2011-11-23 at 10:40 -0500, Luis R. Rodriguez wrote:
> It is useful to apply reguatory settings immediately. We already
> handle applying regulatory hints immediatey for most hints but
> for user hints and country IE hints we want to kick hardware
> immediately to make these changes take effect. This adds supports
> to let us kick hardware to make the changes take effect as soon
> as possible.
Can't say I like this -- wouldn't we rather call the regulatory update
callback or so?
johannes
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [RFC 2/5] cfg80211: add support to immediately apply reg settings
2011-11-24 16:44 ` Johannes Berg
@ 2011-11-24 16:50 ` Luis R. Rodriguez
2011-11-24 16:52 ` Luis R. Rodriguez
0 siblings, 1 reply; 11+ messages in thread
From: Luis R. Rodriguez @ 2011-11-24 16:50 UTC (permalink / raw)
To: Johannes Berg; +Cc: linux-wireless
On Thu, Nov 24, 2011 at 11:44 AM, Johannes Berg
<johannes@sipsolutions.net> wrote:
> On Wed, 2011-11-23 at 10:40 -0500, Luis R. Rodriguez wrote:
>> It is useful to apply reguatory settings immediately. We already
>> handle applying regulatory hints immediatey for most hints but
>> for user hints and country IE hints we want to kick hardware
>> immediately to make these changes take effect. This adds supports
>> to let us kick hardware to make the changes take effect as soon
>> as possible.
>
> Can't say I like this -- wouldn't we rather call the regulatory update
> callback or so?
I'm not a fan either, at first I considered doing that on the
reg_notifier() but then that also means every driver must implement a
reg_notifier() callback, or a new reg_apply() callback. If we do it
within cfg80211 it means all drivers get this for free and that was
the tradeoff I wanted to review through these RFCs. Unfortunately
setting the tx power was the only thing I saw cfg80211 could do right
now.
I'm still "meh" about this too.
Luis
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [RFC 2/5] cfg80211: add support to immediately apply reg settings
2011-11-24 16:50 ` Luis R. Rodriguez
@ 2011-11-24 16:52 ` Luis R. Rodriguez
0 siblings, 0 replies; 11+ messages in thread
From: Luis R. Rodriguez @ 2011-11-24 16:52 UTC (permalink / raw)
To: Johannes Berg; +Cc: linux-wireless
On Thu, Nov 24, 2011 at 11:50 AM, Luis R. Rodriguez
<mcgrof@frijolero.org> wrote:
> On Thu, Nov 24, 2011 at 11:44 AM, Johannes Berg
> <johannes@sipsolutions.net> wrote:
>> On Wed, 2011-11-23 at 10:40 -0500, Luis R. Rodriguez wrote:
>>> It is useful to apply reguatory settings immediately. We already
>>> handle applying regulatory hints immediatey for most hints but
>>> for user hints and country IE hints we want to kick hardware
>>> immediately to make these changes take effect. This adds supports
>>> to let us kick hardware to make the changes take effect as soon
>>> as possible.
>>
>> Can't say I like this -- wouldn't we rather call the regulatory update
>> callback or so?
>
> I'm not a fan either, at first I considered doing that on the
> reg_notifier() but then that also means every driver must implement a
> reg_notifier() callback, or a new reg_apply() callback. If we do it
> within cfg80211 it means all drivers get this for free and that was
> the tradeoff I wanted to review through these RFCs. Unfortunately
> setting the tx power was the only thing I saw cfg80211 could do right
> now.
>
> I'm still "meh" about this too.
I'm willing to give up on the complexity of this given that we *will*
eventually apply the settings after a scan, etc. The gains seem to be
small for what we would need to do. If we're happy to live without the
optimization I can just document it to ensure everyone knows that the
power stuff won't apply *immediately* but it will happen eventually
and typically this is soon enough.
Luis
^ permalink raw reply [flat|nested] 11+ messages in thread
* [RFC 3/5] mac80211: add support for NL80211_TX_POWER_REG
2011-11-23 15:40 [RFC 0/5] wireless: applying country IE and reg changes immediately Luis R. Rodriguez
2011-11-23 15:40 ` [RFC 1/5] cfg80211: allow following country IE power for custom regdom cards Luis R. Rodriguez
2011-11-23 15:40 ` [RFC 2/5] cfg80211: add support to immediately apply reg settings Luis R. Rodriguez
@ 2011-11-23 15:40 ` Luis R. Rodriguez
2011-11-23 15:40 ` [RFC 4/5] ath6kl: " Luis R. Rodriguez
2011-11-23 15:40 ` [RFC 5/5] wireless: annotate drivers that do not support NL80211_TX_POWER_REG Luis R. Rodriguez
4 siblings, 0 replies; 11+ messages in thread
From: Luis R. Rodriguez @ 2011-11-23 15:40 UTC (permalink / raw)
To: linux-wireless; +Cc: Luis R. Rodriguez
mac80211 already keeps track of user limits and uses the
regulatory limits properly, all we need to do is kick the
hw config routines so that we can kick the hardware.
Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
---
net/mac80211/cfg.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c
index 2577c45..188cc7c 100644
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
@@ -1666,6 +1666,12 @@ static int ieee80211_set_tx_power(struct wiphy *wiphy,
return -EINVAL;
local->user_power_level = MBM_TO_DBM(mbm);
break;
+ case NL80211_TX_POWER_REG:
+ /*
+ * ieee80211_hw_config() already has the proper logic
+ * to deal with this.
+ */
+ break;
}
ieee80211_hw_config(local, changes);
--
1.7.4.15.g7811d
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [RFC 4/5] ath6kl: add support for NL80211_TX_POWER_REG
2011-11-23 15:40 [RFC 0/5] wireless: applying country IE and reg changes immediately Luis R. Rodriguez
` (2 preceding siblings ...)
2011-11-23 15:40 ` [RFC 3/5] mac80211: add support for NL80211_TX_POWER_REG Luis R. Rodriguez
@ 2011-11-23 15:40 ` Luis R. Rodriguez
2011-11-23 15:40 ` [RFC 5/5] wireless: annotate drivers that do not support NL80211_TX_POWER_REG Luis R. Rodriguez
4 siblings, 0 replies; 11+ messages in thread
From: Luis R. Rodriguez @ 2011-11-23 15:40 UTC (permalink / raw)
To: linux-wireless; +Cc: Luis R. Rodriguez
Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
---
drivers/net/wireless/ath/ath6kl/cfg80211.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/drivers/net/wireless/ath/ath6kl/cfg80211.c b/drivers/net/wireless/ath/ath6kl/cfg80211.c
index 9f3d3f0..983c3e9 100644
--- a/drivers/net/wireless/ath/ath6kl/cfg80211.c
+++ b/drivers/net/wireless/ath/ath6kl/cfg80211.c
@@ -1187,6 +1187,7 @@ static int ath6kl_cfg80211_set_txpower(struct wiphy *wiphy,
struct ath6kl_vif *vif;
u8 ath6kl_dbm;
int dbm = MBM_TO_DBM(mbm);
+ struct ieee80211_channel *chan;
ath6kl_dbg(ATH6KL_DBG_WLAN_CFG, "%s: type 0x%x, dbm %d\n", __func__,
type, dbm);
@@ -1204,6 +1205,11 @@ static int ath6kl_cfg80211_set_txpower(struct wiphy *wiphy,
case NL80211_TX_POWER_LIMITED:
ar->tx_pwr = ath6kl_dbm = dbm;
break;
+ case NL80211_TX_POWER_REG:
+ chan = ieee80211_get_channel(wiphy, vif->next_chan);
+ if (!chan)
+ return -EIO;
+ ar->tx_pwr = ath6kl_dbm = chan->max_power;
default:
ath6kl_dbg(ATH6KL_DBG_WLAN_CFG, "%s: type 0x%x not supported\n",
__func__, type);
--
1.7.4.15.g7811d
^ permalink raw reply related [flat|nested] 11+ messages in thread* [RFC 5/5] wireless: annotate drivers that do not support NL80211_TX_POWER_REG
2011-11-23 15:40 [RFC 0/5] wireless: applying country IE and reg changes immediately Luis R. Rodriguez
` (3 preceding siblings ...)
2011-11-23 15:40 ` [RFC 4/5] ath6kl: " Luis R. Rodriguez
@ 2011-11-23 15:40 ` Luis R. Rodriguez
2011-11-24 21:02 ` Jouni Malinen
4 siblings, 1 reply; 11+ messages in thread
From: Luis R. Rodriguez @ 2011-11-23 15:40 UTC (permalink / raw)
To: linux-wireless; +Cc: Luis R. Rodriguez
brcm80211, iwmc3200wifi and mwifiex lack support for
NL80211_TX_POWER_REG.
Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
---
.../net/wireless/brcm80211/brcmfmac/wl_cfg80211.c | 2 ++
drivers/net/wireless/iwmc3200wifi/cfg80211.c | 2 ++
drivers/net/wireless/mwifiex/cfg80211.c | 3 +++
3 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c b/drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c
index f23b0c3..678849e 100644
--- a/drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c
+++ b/drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c
@@ -1454,6 +1454,8 @@ brcmf_cfg80211_set_tx_power(struct wiphy *wiphy,
goto done;
}
break;
+ case NL80211_TX_POWER_REG:
+ return -EOPNOTSUPP;
}
/* Make sure radio is off or on as far as software is concerned */
disable = WL_RADIO_SW_DISABLE << 16;
diff --git a/drivers/net/wireless/iwmc3200wifi/cfg80211.c b/drivers/net/wireless/iwmc3200wifi/cfg80211.c
index 48e8218..d84390f 100644
--- a/drivers/net/wireless/iwmc3200wifi/cfg80211.c
+++ b/drivers/net/wireless/iwmc3200wifi/cfg80211.c
@@ -710,6 +710,8 @@ static int iwm_cfg80211_set_txpower(struct wiphy *wiphy,
return ret;
return iwm_tx_power_trigger(iwm);
+ case NL80211_TX_REG:
+ return -EOPNOTSUPP;
default:
IWM_ERR(iwm, "Unsupported power type: %d\n", type);
return -EOPNOTSUPP;
diff --git a/drivers/net/wireless/mwifiex/cfg80211.c b/drivers/net/wireless/mwifiex/cfg80211.c
index 0db97cc..136841b 100644
--- a/drivers/net/wireless/mwifiex/cfg80211.c
+++ b/drivers/net/wireless/mwifiex/cfg80211.c
@@ -126,6 +126,9 @@ mwifiex_cfg80211_set_tx_power(struct wiphy *wiphy,
struct mwifiex_power_cfg power_cfg;
int dbm = MBM_TO_DBM(mbm);
+ if (type == NL80211_TX_POWER_REG)
+ return -EOPNOTSUPP;
+
if (type == NL80211_TX_POWER_FIXED) {
power_cfg.is_power_auto = 0;
power_cfg.power_level = dbm;
--
1.7.4.15.g7811d
^ permalink raw reply related [flat|nested] 11+ messages in thread* Re: [RFC 5/5] wireless: annotate drivers that do not support NL80211_TX_POWER_REG
2011-11-23 15:40 ` [RFC 5/5] wireless: annotate drivers that do not support NL80211_TX_POWER_REG Luis R. Rodriguez
@ 2011-11-24 21:02 ` Jouni Malinen
2011-11-28 20:56 ` Luis R. Rodriguez
0 siblings, 1 reply; 11+ messages in thread
From: Jouni Malinen @ 2011-11-24 21:02 UTC (permalink / raw)
To: Luis R. Rodriguez; +Cc: linux-wireless
On Wed, Nov 23, 2011 at 10:40:58AM -0500, Luis R. Rodriguez wrote:
> brcm80211, iwmc3200wifi and mwifiex lack support for
> NL80211_TX_POWER_REG.
> diff --git a/drivers/net/wireless/iwmc3200wifi/cfg80211.c b/drivers/net/wireless/iwmc3200wifi/cfg80211.c
> + case NL80211_TX_REG:
That would benefit from a test run with a compiler..
--
Jouni Malinen PGP id EFC895FA
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [RFC 5/5] wireless: annotate drivers that do not support NL80211_TX_POWER_REG
2011-11-24 21:02 ` Jouni Malinen
@ 2011-11-28 20:56 ` Luis R. Rodriguez
0 siblings, 0 replies; 11+ messages in thread
From: Luis R. Rodriguez @ 2011-11-28 20:56 UTC (permalink / raw)
To: Jouni Malinen; +Cc: linux-wireless
On Thu, Nov 24, 2011 at 4:02 PM, Jouni Malinen <j@w1.fi> wrote:
> On Wed, Nov 23, 2011 at 10:40:58AM -0500, Luis R. Rodriguez wrote:
>> brcm80211, iwmc3200wifi and mwifiex lack support for
>> NL80211_TX_POWER_REG.
>
>> diff --git a/drivers/net/wireless/iwmc3200wifi/cfg80211.c b/drivers/net/wireless/iwmc3200wifi/cfg80211.c
>> + case NL80211_TX_REG:
>
> That would benefit from a test run with a compiler..
Thought I had.. sorry, dropping this in favor for a reg_notifier()
approach instead.
Luis
^ permalink raw reply [flat|nested] 11+ messages in thread