* Re: Clarifying rtl8188ee's channel wifi changing code
2017-01-18 5:40 Clarifying rtl8188ee's channel wifi changing code Farhan Khan
@ 2017-01-18 3:02 ` Larry Finger
0 siblings, 0 replies; 2+ messages in thread
From: Larry Finger @ 2017-01-18 3:02 UTC (permalink / raw)
To: Farhan Khan, linux-wireless
On 01/17/2017 11:40 PM, Farhan Khan wrote:
> Hi all,
>
> I am having a bit of trouble understanding the rtl8188ee source,
> specifically how its switch_channel function (rtl88e_phy_sw_chnl) works. I
> gather that this function calls rtl88ee_phy_sw_chnl_callback, which in turn
> calls _rtl88_phy_sw_chnl_step_by_step (
> https://github.com/torvalds/linux/blob/master/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c#L1253
> ).
>
> This is where I get lost. Where is the 'channel' variable used, other than
> to change the TX power? I presume it has something to do with case
> CMDID_RF_WRITEREG, but I am not certain.
>
> Please explain what is going on. Thank you!
I have no idea where you are getting those routine names, but my source does not
have them, unless something has broken grep on my system.
Larry
^ permalink raw reply [flat|nested] 2+ messages in thread
* Clarifying rtl8188ee's channel wifi changing code
@ 2017-01-18 5:40 Farhan Khan
2017-01-18 3:02 ` Larry Finger
0 siblings, 1 reply; 2+ messages in thread
From: Farhan Khan @ 2017-01-18 5:40 UTC (permalink / raw)
To: linux-wireless
Hi all,
I am having a bit of trouble understanding the rtl8188ee source,
specifically how its switch_channel function (rtl88e_phy_sw_chnl) works. I
gather that this function calls rtl88ee_phy_sw_chnl_callback, which in turn
calls _rtl88_phy_sw_chnl_step_by_step (
https://github.com/torvalds/linux/blob/master/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c#L1253
).
This is where I get lost. Where is the 'channel' variable used, other than
to change the TX power? I presume it has something to do with case
CMDID_RF_WRITEREG, but I am not certain.
Please explain what is going on. Thank you!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-01-18 3:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-18 5:40 Clarifying rtl8188ee's channel wifi changing code Farhan Khan
2017-01-18 3:02 ` Larry Finger
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).