Search Linux Wireless

Re: rtlwifi/rtl8188ee baseband config explanation request

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/15/2017 12:08 AM, Farhan Khan wrote:
Hi all,

I am trying to get a high-level understanding of what occurs in
rtl88e_phy_bb_config() in
drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c. I understand the
code up until it runs _rtl88e_phy_bb8188e_config_parafile() .

From there, I see that phy_config_bb_with_headerfile() will write the
values in RTL8188EEPHY_REG_1TARRAY, runs phy_config_bb_with_pghdr(),
then write the values in RTL8188EEAGCTAB_1TARRAY.

Please provide a high-level explanation of
phy_config_bb_with_headerfile(), and more particularly, of
phy_config_bb_pghdr(). What are their objectives? Also, is there a
reason for this specific order or can it be in any otherwise?

Why do you want to know this information? Are you trying to reverse-engineer the Realtek wifi devices. Note that I do not know much about the internals of any of the Realtek devices, but I can read the code. The data in RTL8188EEPHY_REG_1TARRAY consists of two parts per entry. The first is an address, and the second is the data to be loaded into that address. These data are used by the firmware to calibrate radios, etc., and have been determined by the Realtek engineers. There is a similar interpretation for RTL8188EEAGCTAB_1TARRAY. I do not know for sure, but as the data values here are ALL written to the same address, I fully expect that these must be written AFTER the PHY_REG information. Something needs to be controlling where the data are being stored.

The "high-level" interpretation of this code is this is what must be done for the device to work. If you want more information, you will need to investigate getting an NDA with Realtek. I do not have one, and I do not want such an agreement.

Larry



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux