linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* BCM4313 lowering TX power
@ 2015-02-15 13:32 Nikita N.
  2015-02-16 13:53 ` brcmsmac: TX power blocked in BCM4313 Nikita N.
  0 siblings, 1 reply; 8+ messages in thread
From: Nikita N. @ 2015-02-15 13:32 UTC (permalink / raw)
  To: brcm80211-dev-list, linux-wireless, arend

Hi Dear backports Devs for driver brcmsmac,
Coming to the point, I want to lower the TX power of my BCM4313, under
the official values set by the regdom, to any special value I need.
So I'm trying to build such a "personal" patch, only for me, based on
latest backports v3.19 and latest Ubuntu.
Useless to say, "iwconfig <wlan> txpower" doesn't work, the resulting TX
power doesn't change.
I know it doesn't work because I can measure the RSSI coming out from
the BCM4313, using another device: it doesn't change, whatever value I
set.

So, I gave a look at the code for the brcmsmac module, and I think I
found the location where the TX power is *finally* set: inside
wlc_lcnphy_txpower_recalc_target (phy_lcn.c), call to
wlc_lcnphy_set_target_tx_pwr.
AFAIU, in that function a table of tx_power_offsets (calculated by
another function) is written in the device EPROM registry, and the TX
power is set to the relative minimum.

Now, my question: is that the right way to change effectively the TX
power?
I need to ask You a confirmation about that, if that is correct, before
I start building my patch.
I don't want to frustrate my time developing in the wrong code, or
damage the device, or other issues... :)

Thank you for your attention, and looking forward your feedback.

-- 
http://www.fastmail.com - mmm... Fastmail...


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-03-05 18:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-15 13:32 BCM4313 lowering TX power Nikita N.
2015-02-16 13:53 ` brcmsmac: TX power blocked in BCM4313 Nikita N.
     [not found]   ` <54E2107F.4000709@broadcom.com>
2015-02-16 18:53     ` Nikita N.
     [not found]       ` <54E24B48.80601@broadcom.com>
2015-02-17  9:03         ` Nikita N.
2015-03-04 15:39           ` brcmsmac not compliant to 802.11 for BCM4313 Nikita N.
2015-03-04 17:13             ` Pat Erley
     [not found]             ` <54F7486B.7050608@broadcom.com>
2015-03-05  8:23               ` Nikita N.
     [not found]                 ` <54F824D2.9030504@broadcom.com>
2015-03-05 18:50                   ` Nikita N.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).