OpenWrt Forum Archive

Topic: TP-Link TL-WDR4300 TX power limited to 17dBm on 2.4GHz

The content of this topic has been archived between 3 Apr 2018 and 6 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Here's something interesting. There seems to be a TL-WDR4320 router in Asia that has 5 antennas, two for 2.4GHz and 3 for 5GHz.
Here's a shot from the 2.4GHz line:
http://www.right.com.cn/forum/data/attachment/album/201412/31/144110duyyjj6xzsd9h3rl.jpg

As you can see, the only thing extra is the LC fitler. The rest is the same.
The whole picture thread here:
http://www.right.com.cn/forum/thread-156876-1-1.html

http://www.rijiwang.com/wp-content/uploads/luyouqi/1601040957351.jpg


And the obligatory nude shot:

http://img0.ph.126.net/zT0pvb5LfcyoBgFMQHchcw==/6630586179606280242.jpg


* later edit:
Complete teardown of the WDR4320 router with pictures and partnumbers here:
http://bbs.mydigit.cn/read.php?tid=1487484
Seems to be almost identical, no sma connectors on the antennas on this version. And the back outer antennas are connected to the 2.4GHz line, and the middle back and middle side ones are 5GHz.

(Last edited by bob808 on 4 Nov 2016, 03:16)

I managed to find the ART dump of the WDR-4320 router. Hard but did it!
So, I ran it through the ar9300_eeprom tool to get a sense of the differences.
So there seems to be some differences especially on everything marked with "power". Most values on the 4320 seem a bit higher.
Here's my dump, with the regulations removed already:

EEPROM 0x1000:
----------------------------------------------------------------------------------------
      EEPROM Version :          2
    Template Version :          2
         MAC Address : 00 02 03 04 05 06
           Cust Data : 00 30 3A 30 32 3A 30 33 3A 30 34 3A 30 35 3A 30 36 00 00 00
----------------------------------------------------------------------------------------
          RegDomain1 :          0
          RegDomain2 :         31
             TX Mask : 0b00000011
             RX Mask : 0b00000011
---------------------------------
            Op Flags : 0b00000010
        Allow 2.4GHz :          1
          Allow 5GHz :          0
 Disable 2.4GHz HT20 :          0
 Disable 2.4GHz HT40 :          0
---------------------------------
            EEP Misc : 0b00000000
          Big Endian :          0
---------------------------------
           RF Silent :          0
           BT Option :          0
          Device Cap :          0
         Device Type :          4
  Power Table Offset :          0
         Tuning Caps :    40    0
---------------------------------
      Feature Enable : 0b01001101
 Enable Tx Temp Comp :          1
 Enable Tx Volt Comp :          0
   Enable Fast Clock :          1
     Enable Doubling :          1
  Internal Regulator :          0
  Enable PAPRD Scale :          0
  Enable Tuning Caps :          1
     XPA Timing Ctrl :          0
---------------------------------
  Misc Configuration : 0b00000010
     Driver Strength :          0
         Thermometer :          0
   Chain Mask Reduce :          0
   Enable Quick Drop :          0
Temp Slope Extension :          0
Enable Bias Strength :          0
---------------------------------
   Write Enable GPIO :          3
   WLAN Disable GPIO :          0
       WLAN LED GPIO :          8
 Rx Band Select GPIO :        255
             Tx Gain :          6
             Rx Gain :          0
              SW Reg : 0x00000001
----------------------------------------------------------------------------------------
     Ant Div Control :          0
              Future : 00 00
---------------------------------
         Misc Enable : 0b00000000
         TX Gain Cap :          0
 Uncompress Checksum :          0
    MinCCApwr 2.4GHz :          0
----------------------------------------------------------------------------------------
  Calibration 2.4GHz :   Chain0 Chain1 Chain2

         Frequency 0 :    2412[1]
         Ref Power 0 :      5      8      0
         Volt Meas 0 :      0      0      0
         Temp Meas 0 :    151    156      0
 RX Noisefloor Cal 0 :      0      0      0
 RX Noisefloor Pwr 0 :      0      0      0
      RX Temp Meas 0 :      0      0      0

         Frequency 1 :    2437[6]
         Ref Power 1 :      5      7      0
         Volt Meas 1 :      0      0      0
         Temp Meas 1 :    153    157      0
 RX Noisefloor Cal 1 :      0      0      0
 RX Noisefloor Pwr 1 :      0      0      0
      RX Temp Meas 1 :      0      0      0

         Frequency 2 :   2462[11]
         Ref Power 2 :      4      7      0
         Volt Meas 2 :      0      0      0
         Temp Meas 2 :    153    156      0
 RX Noisefloor Cal 2 :      0      0      0
 RX Noisefloor Pwr 2 :      0      0      0
      RX Temp Meas 2 :      0      0      0
----------------------------------------------------------------------------------------
   Target 2.4GHz 11B : 1L-5L  5S  11L  11S

         Frequency 0 :    2412[1]
             Power 0 :   38   38   38   38

         Frequency 1 :   2472[13]
             Power 1 :   38   38   38   38
----------------------------------------------------------------------------------------
   Target 2.4GHz 11G :  6-24  36   48   54

         Frequency 0 :    2412[1]
             Power 0 :   38   38   36   32

         Frequency 1 :    2437[6]
             Power 1 :   38   38   36   32

         Frequency 2 :   2472[13]
             Power 2 :   38   38   36   32
----------------------------------------------------------------------------------------
  Target 2.4GHz HT20 :0-16 1-19  4   5   6   7  12  13  14  15  20  21  22  23

         Frequency 0 :    2412[1]
             Power 0 :  36  36  36  34  32  30  36  33  32  28  32  32  28  20

         Frequency 1 :    2437[6]
             Power 1 :  36  36  36  34  32  30  36  33  32  28  32  32  28  20

         Frequency 2 :   2472[13]
             Power 2 :  36  36  36  34  32  30  36  33  32  28  32  32  28  20
----------------------------------------------------------------------------------------
  Target 2.4GHz HT40 :0-16 1-19  4   5   6   7  12  13  14  15  20  21  22  23

         Frequency 0 :    2422[3]
             Power 0 :  34  34  34  32  30  28  34  32  30  26  32  32  28  20

         Frequency 1 :    2447[8]
             Power 1 :  34  34  34  32  30  28  34  32  30  26  32  32  28  20

         Frequency 2 :   2462[11]
             Power 2 :  34  34  34  32  30  28  34  32  30  26  32  32  28  20
----------------------------------------------------------------------------------------
   Regulatory 2.4GHz : FCC__11B FCC__11G FCC_HT20 FCC_HT40 MKK__11B MKK__11G MKK_HT20 MKK_HT40 ETSI_11B ETSI_11G ETSIHT20 ETSIHT40

         Frequency 0 :  2412[1]  2412[1]  2412[1]  2422[3]  2412[1]  2412[1]  2412[1]  2412[1]  2412[1]  2412[1]  2412[1]  2422[3]
        Power|Edge 0 :   60|0     60|0     60|0     60|0     60|0     60|0     60|0     60|0     60|0     60|0     60|0     60|0  

         Frequency 1 :  2417[2]  2417[2]  2417[2]  2427[4]  2417[2]  2417[2]  2417[2]  2417[2]  2417[2]  2417[2]  2417[2]  2427[4]
        Power|Edge 1 :   60|1     60|1     60|1     60|1     60|1     60|1     60|1     60|1     60|1     60|1     60|1     60|1  

         Frequency 2 : 2462[11] 2462[11] 2462[11]  2452[9] 2472[13] 2472[13] 2472[13] 2472[13] 2472[13] 2472[13] 2472[13] 2462[11]
        Power|Edge 2 :   60|0     60|0     60|0     60|0     60|0     60|0     60|0     60|0     60|0     60|0     60|0     60|0  

         Frequency 3 : 2484[14] 2484[14] 2484[14] 2484[14] 2484[14] 2484[14] 2484[14] 2484[14] 2484[14] 2484[14] 2484[14] 2484[14]
        Power|Edge 3 :   60|1     60|1     60|1     60|1     60|1     60|1     60|1     60|1     60|1     60|1     60|1     60|1  
----------------------------------------------------------------------------------------
 2.4GHz Modal Header : Chain0 Chain1 Chain2
        Ant. Control : 0x0010 0x0010 0x0010
        NF Threshold :     -1      0      0
           xatten1DB :     27     27     27
       xatten1Margin :     12     12     12
          Temp Slope :         31
          Quick Drop :          0
      spur Frequency :  2464[11+]       0x00       0x00       0x00       0x00
 Ant. Common Control : 0x00000110
Ant. Common Control2 : 0x000EEEEE
           Ant. Gain :          0
       Switch Settle :         44
          Volt Slope :          0
       txEndToXpaOff :          0
         txEndToRxOn :          2
      XPA Bias Level :          0
  txFrameToDataStart :         14
       txFrameToPaOn :         14
      txFrameToXpaOn :         14
              txClip :          3
    ADC Desired Size :        -30
            Thresh62 :         28
     PAPRD Rate Mask : 5S 11L 11S HT20_7 HT20_12 HT20_13 SCALE:6
PAPRD Rate Mask HT40 : 5S 11L 11S HT20_7 HT20_12 HT20_13
     switch com spdt :          0
  XLNA Bias Strength :          0
            Reserved : 00 00 00 00 00 00 00 00 00 00 00
        Future Modal : 00 00 00 00 00 00 00
----------------------------------------------------------------------------------------

EEPROM 0x5000:
----------------------------------------------------------------------------------------
      EEPROM Version :          2
    Template Version :          2
         MAC Address : 00 02 03 04 05 06
           Cust Data : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
----------------------------------------------------------------------------------------
          RegDomain1 :          0
          RegDomain2 :         31
             TX Mask : 0b00000111
             RX Mask : 0b00000111
---------------------------------
            Op Flags : 0b00000001
        Allow 2.4GHz :          0
          Allow 5GHz :          1
   Disable 5Ghz HT20 :          0
   Disable 5Ghz HT40 :          0
---------------------------------
            EEP Misc : 0b00000000
          Big Endian :          0
---------------------------------
           RF Silent :          0
           BT Option :          0
          Device Cap :          0
         Device Type :          4
  Power Table Offset :          0
         Tuning Caps :    72    0
---------------------------------
      Feature Enable : 0b01001101
 Enable Tx Temp Comp :          1
 Enable Tx Volt Comp :          0
   Enable Fast Clock :          1
     Enable Doubling :          1
  Internal Regulator :          0
  Enable PAPRD Scale :          0
  Enable Tuning Caps :          1
     XPA Timing Ctrl :          0
---------------------------------
  Misc Configuration : 0b00000100
     Driver Strength :          0
         Thermometer :          1
   Chain Mask Reduce :          0
   Enable Quick Drop :          0
Temp Slope Extension :          0
Enable Bias Strength :          0
---------------------------------
   Write Enable GPIO :          3
   WLAN Disable GPIO :          0
       WLAN LED GPIO :          8
 Rx Band Select GPIO :        255
             Tx Gain :          0
             Rx Gain :          0
              SW Reg : 0x00000000
----------------------------------------------------------------------------------------
     Ant Div Control :          0
              Future : 00 00
---------------------------------
         Misc Enable : 0b00000000
         TX Gain Cap :          0
 Uncompress Checksum :          0
      MinCCApwr 5GHz :          0
---------------------------------
Temp Slope Extension :  0   0   0   0   0   0   0   0
----------------------------------------------------------------------------------------
    Calibration 5GHz :   Chain0 Chain1 Chain2

         Frequency 0 :   5180[36]
         Ref Power 0 :    -19    -24    -20
         Volt Meas 0 :      0      0      0
         Temp Meas 0 :    171    171    172
 RX Noisefloor Cal 0 :      0      0      0
 RX Noisefloor Pwr 0 :      0      0      0
      RX Temp Meas 0 :      0      0      0

         Frequency 1 :   5240[48]
         Ref Power 1 :    -15    -19    -14
         Volt Meas 1 :      0      0      0
         Temp Meas 1 :    171    171    172
 RX Noisefloor Cal 1 :      0      0      0
 RX Noisefloor Pwr 1 :      0      0      0
      RX Temp Meas 1 :      0      0      0

         Frequency 2 :   5320[64]
         Ref Power 2 :     -9    -15     -8
         Volt Meas 2 :      0      0      0
         Temp Meas 2 :    172    172    172
 RX Noisefloor Cal 2 :      0      0      0
 RX Noisefloor Pwr 2 :      0      0      0
      RX Temp Meas 2 :      0      0      0

         Frequency 3 :  5500[100]
         Ref Power 3 :     -5     -9     -3
         Volt Meas 3 :      0      0      0
         Temp Meas 3 :    171    172    172
 RX Noisefloor Cal 3 :      0      0      0
 RX Noisefloor Pwr 3 :      0      0      0
      RX Temp Meas 3 :      0      0      0

         Frequency 4 :  5620[124]
         Ref Power 4 :     -8     -9     -5
         Volt Meas 4 :      0      0      0
         Temp Meas 4 :    171    172    172
 RX Noisefloor Cal 4 :      0      0      0
 RX Noisefloor Pwr 4 :      0      0      0
      RX Temp Meas 4 :      0      0      0

         Frequency 5 :  5700[140]
         Ref Power 5 :    -10    -13     -8
         Volt Meas 5 :      0      0      0
         Temp Meas 5 :    170    171    172
 RX Noisefloor Cal 5 :      0      0      0
 RX Noisefloor Pwr 5 :      0      0      0
      RX Temp Meas 5 :      0      0      0

         Frequency 6 :  5745[149]
         Ref Power 6 :    -12    -15    -10
         Volt Meas 6 :      0      0      0
         Temp Meas 6 :    172    171    172
 RX Noisefloor Cal 6 :      0      0      0
 RX Noisefloor Pwr 6 :      0      0      0
      RX Temp Meas 6 :      0      0      0

         Frequency 7 :  5825[165]
         Ref Power 7 :    -17    -20    -15
         Volt Meas 7 :      0      0      0
         Temp Meas 7 :    171    172    171
 RX Noisefloor Cal 7 :      0      0      0
 RX Noisefloor Pwr 7 :      0      0      0
      RX Temp Meas 7 :      0      0      0
----------------------------------------------------------------------------------------
     Target 5GHz 11A :  6-24  36   48   54

         Frequency 0 :   5180[36]
             Power 0 :   32   32   30   26

         Frequency 1 :   5240[48]
             Power 1 :   32   32   30   26

         Frequency 2 :   5320[64]
             Power 2 :   32   32   30   26

         Frequency 3 :  5400[64+]
             Power 3 :   32   32   30   26

         Frequency 4 :  5500[100]
             Power 4 :   32   32   30   26

         Frequency 5 :  5600[120]
             Power 5 :   32   32   30   24

         Frequency 6 :  5700[140]
             Power 6 :   32   32   30   24

         Frequency 7 :  5825[165]
             Power 7 :   32   32   30   24
----------------------------------------------------------------------------------------
    Target 5GHz HT20 :0-16 1-19  4   5   6   7  12  13  14  15  20  21  22  23

         Frequency 0 :   5180[36]
             Power 0 :  32  32  32  30  28  26  32  28  22  22  22  22  22  20

         Frequency 1 :   5220[44]
             Power 1 :  32  32  32  30  28  26  32  28  22  22  22  22  22  20

         Frequency 2 :   5320[64]
             Power 2 :  32  32  32  30  28  26  32  26  22  22  22  22  22  20

         Frequency 3 :  5500[100]
             Power 3 :  32  32  32  30  28  26  32  26  22  22  22  22  22  20

         Frequency 4 :  5600[120]
             Power 4 :  32  32  30  28  26  24  32  24  22  22  22  22  20  18

         Frequency 5 :  5700[140]
             Power 5 :  32  32  30  28  26  24  32  24  22  22  22  22  20  18

         Frequency 6 :  5745[149]
             Power 6 :  32  32  28  26  24  22  32  22  22  22  22  22  18  16

         Frequency 7 :  5825[165]
             Power 7 :  32  32  28  26  24  22  32  22  22  22  22  22  18  16
----------------------------------------------------------------------------------------
    Target 5GHz HT40 :0-16 1-19  4   5   6   7  12  13  14  15  20  21  22  23

         Frequency 0 :   5190[38]
             Power 0 :  32  32  30  28  28  24  32  28  22  22  24  22  20  18

         Frequency 1 :   5230[46]
             Power 1 :  32  32  30  28  28  24  32  28  22  22  24  22  20  18

         Frequency 2 :  5310[60+]
             Power 2 :  32  32  30  28  26  24  32  26  22  22  24  22  20  18

         Frequency 3 : 5510[100+]
             Power 3 :  32  32  30  28  26  22  32  26  22  22  24  22  18  16

         Frequency 4 : 5550[108+]
             Power 4 :  32  32  30  26  24  22  32  24  22  22  24  22  18  16

         Frequency 5 : 5670[132+]
             Power 5 :  32  32  30  26  24  22  32  24  22  22  24  22  18  16

         Frequency 6 : 5755[149+]
             Power 6 :  32  32  30  24  22  20  32  22  22  20  22  20  18  16

         Frequency 7 : 5795[157+]
             Power 7 :  32  32  30  24  22  20  32  22  22  20  22  20  18  16
----------------------------------------------------------------------------------------
     Regulatory 5GHz :  FCC__11A  FCC_HT20  FCC_HT40  MKK__11A  MKK_HT20  MKK_HT40  ETSI_11A  ETSIHT20  ETSIHT40

         Frequency 0 :  5180[36]  5180[36]  5190[38]  5180[36]  5180[36]  5180[36]  5180[36]  5180[36]  5190[38]
        Power|Edge 0 :    60|0      60|0      60|0      60|0      60|0      60|0      60|0      60|0      60|0  

         Frequency 1 :  5200[40]  5200[40]  5230[46]  5220[44]  5220[44]  5220[44]  5200[40]  5200[40]  5230[46]
        Power|Edge 1 :    60|1      60|1      60|1      60|1      60|1      60|1      60|1      60|1      60|1  

         Frequency 2 :  5320[64]  5320[64] 5310[60+]  5320[64]  5320[64]  5320[64]  5320[64]  5320[64] 5310[60+]
        Power|Edge 2 :    60|0      60|0      60|0      60|0      60|0      60|0      60|0      60|0      60|0  

         Frequency 3 : 5400[64+] 5400[64+] 5400[64+] 5400[64+] 5400[64+] 5400[64+] 5400[64+] 5400[64+] 5400[64+]
        Power|Edge 3 :    60|1      60|1      60|1      60|1      60|1      60|1      60|1      60|1      60|1  

         Frequency 4 : 5500[100] 5500[100] 5500[100] 5500[100] 5500[100] 5500[100] 5500[100] 5500[100] 5500[100]
        Power|Edge 4 :    60|0      60|0      60|0      60|0      60|0      60|0      60|0      60|0      60|0  

         Frequency 5 : 5600[120] 5600[120] 5600[120] 5600[120] 5600[120] 5600[120] 5600[120] 5600[120] 5600[120]
        Power|Edge 5 :    60|1      60|1      60|1      60|1      60|1      60|1      60|1      60|1      60|1  

         Frequency 6 :5725[140+]5725[140+]5725[140+]5725[140+]5725[140+]5725[140+]5725[140+]5725[140+]5725[140+]
        Power|Edge 6 :    60|1      60|1      60|1      60|0      60|0      60|0      60|0      60|0      60|0  

         Frequency 7 : 5825[165] 5825[165] 5825[165] 5825[165] 5825[165] 5825[165] 5825[165] 5825[165] 5825[165]
        Power|Edge 7 :    60|1      60|1      60|1      60|1      60|1      60|1      60|1      60|1      60|1  
----------------------------------------------------------------------------------------
   5GHz Modal Header :    Chain0         Chain1         Chain2
        Ant. Control :    0x0010         0x0010         0x0010
        NF Threshold :        -1              0              0
         Range Chain :  Low  Mid  High Low  Mid  High Low  Mid  High
           xatten1DB :   21   25   28   22   25   27   21   25   24
       xatten1Margin :   11   18   11   11   18   11   11   18   11
               Range :  Low  Mid  High
          Temp Slope :   65   78   86
          Quick Drop :    0    0    0
      spur Frequency :  5500[100]       0x00       0x00       0x00       0x00
 Ant. Common Control : 0x00000110
Ant. Common Control2 : 0x00022222
           Ant. Gain :          0
       Switch Settle :         45
          Volt Slope :          0
       txEndToXpaOff :          0
         txEndToRxOn :          2
      XPA Bias Level :         15
  txFrameToDataStart :         14
       txFrameToPaOn :         14
      txFrameToXpaOn :         14
              txClip :          3
    ADC Desired Size :        -30
            Thresh62 :         28
     PAPRD Rate Mask : 5S 11L 11S HT20_7 HT20_12 HT20_13 HT20_22 HT20_23 HT40_0_8_16 HT40_1_3_9_11_17_19 HIGH_SCALE:6
PAPRD Rate Mask HT40 : 5S 11L 11S HT20_7 HT20_12 HT20_13 HT20_22 HT20_23 HT40_0_8_16 HT40_1_3_9_11_17_19 LOW_SCALE:6 MID_SCALE:6
     switch com spdt :          0
  XLNA Bias Strength :          0
            Reserved : 00 00 00 00 00 00 00 00 00 00 00
        Future Modal : 00 00 00 00 00 00 00
----------------------------------------------------------------------------------------
           Frequency :    Low    Mid   High
         PAPRD Scale :  <5400 >=5400 >=5700
               Other :   5180   5500   5785
----------------------------------------------------------------------------------------

And this is the dump from the WDR-4320 patched for reg:

Board not detected.

EEPROM 0x1000:
----------------------------------------------------------------------------------------
      EEPROM Version :          2
    Template Version :          2
         MAC Address : 00 02 03 04 05 06
           Cust Data : 00 30 3A 30 32 3A 30 33 3A 30 34 3A 30 35 3A 30 36 00 00 00
----------------------------------------------------------------------------------------
          RegDomain1 :          0
          RegDomain2 :         31
             TX Mask : 0b00000011
             RX Mask : 0b00000011
---------------------------------
            Op Flags : 0b00000010
        Allow 2.4GHz :          1
          Allow 5GHz :          0
 Disable 2.4GHz HT20 :          0
 Disable 2.4GHz HT40 :          0
---------------------------------
            EEP Misc : 0b00000000
          Big Endian :          0
---------------------------------
           RF Silent :          0
           BT Option :          0
          Device Cap :          0
         Device Type :          4
  Power Table Offset :          0
         Tuning Caps :    40    0
---------------------------------
      Feature Enable : 0b01001101
 Enable Tx Temp Comp :          1
 Enable Tx Volt Comp :          0
   Enable Fast Clock :          1
     Enable Doubling :          1
  Internal Regulator :          0
  Enable PAPRD Scale :          0
  Enable Tuning Caps :          1
     XPA Timing Ctrl :          0
---------------------------------
  Misc Configuration : 0b00000010
     Driver Strength :          0
         Thermometer :          0
   Chain Mask Reduce :          0
   Enable Quick Drop :          0
Temp Slope Extension :          0
Enable Bias Strength :          0
---------------------------------
   Write Enable GPIO :          3
   WLAN Disable GPIO :          0
       WLAN LED GPIO :          8
 Rx Band Select GPIO :        255
             Tx Gain :          6
             Rx Gain :          0
              SW Reg : 0x00000001
----------------------------------------------------------------------------------------
     Ant Div Control :          0
              Future : 00 00
---------------------------------
         Misc Enable : 0b00000000
         TX Gain Cap :          0
 Uncompress Checksum :          0
    MinCCApwr 2.4GHz :          0
----------------------------------------------------------------------------------------
  Calibration 2.4GHz :   Chain0 Chain1 Chain2

         Frequency 0 :    2412[1]
         Ref Power 0 :      6      4      0
         Volt Meas 0 :      0      0      0
         Temp Meas 0 :    132    138      0
 RX Noisefloor Cal 0 :      0      0      0
 RX Noisefloor Pwr 0 :      0      0      0
      RX Temp Meas 0 :      0      0      0

         Frequency 1 :    2437[6]
         Ref Power 1 :      6      4      0
         Volt Meas 1 :      0      0      0
         Temp Meas 1 :    134    138      0
 RX Noisefloor Cal 1 :      0      0      0
 RX Noisefloor Pwr 1 :      0      0      0
      RX Temp Meas 1 :      0      0      0

         Frequency 2 :   2462[11]
         Ref Power 2 :      6      4      0
         Volt Meas 2 :      0      0      0
         Temp Meas 2 :    133    138      0
 RX Noisefloor Cal 2 :      0      0      0
 RX Noisefloor Pwr 2 :      0      0      0
      RX Temp Meas 2 :      0      0      0
----------------------------------------------------------------------------------------
   Target 2.4GHz 11B : 1L-5L  5S  11L  11S

         Frequency 0 :    2412[1]
             Power 0 :   42   42   42   42

         Frequency 1 :   2472[13]
             Power 1 :   42   42   42   42
----------------------------------------------------------------------------------------
   Target 2.4GHz 11G :  6-24  36   48   54

         Frequency 0 :    2412[1]
             Power 0 :   42   40   38   36

         Frequency 1 :    2437[6]
             Power 1 :   42   40   38   36

         Frequency 2 :   2472[13]
             Power 2 :   42   40   38   36
----------------------------------------------------------------------------------------
  Target 2.4GHz HT20 :0-16 1-19  4   5   6   7  12  13  14  15  20  21  22  23

         Frequency 0 :    2412[1]
             Power 0 :  42  42  40  38  36  34  40  38  36  34  32  32  28  20

         Frequency 1 :    2437[6]
             Power 1 :  42  42  40  38  36  34  40  38  36  34  32  32  28  20

         Frequency 2 :   2472[13]
             Power 2 :  42  42  40  38  36  34  40  38  36  34  32  32  28  20
----------------------------------------------------------------------------------------
  Target 2.4GHz HT40 :0-16 1-19  4   5   6   7  12  13  14  15  20  21  22  23

         Frequency 0 :    2422[3]
             Power 0 :  40  40  38  36  34  32  38  36  34  32  32  32  28  20

         Frequency 1 :    2447[8]
             Power 1 :  40  40  38  36  34  32  38  36  34  32  32  32  28  20

         Frequency 2 :   2462[11]
             Power 2 :  40  40  38  36  34  32  38  36  34  32  32  32  28  20
----------------------------------------------------------------------------------------
   Regulatory 2.4GHz : FCC__11B FCC__11G FCC_HT20 FCC_HT40 MKK__11B MKK__11G MKK_HT20 MKK_HT40 ETSI_11B ETSI_11G ETSIHT20 ETSIHT40

         Frequency 0 :  2412[1]  2412[1]  2412[1]  2412[1]  2412[1]  2412[1]  2412[1]  2412[1]  2412[1]  2412[1]  2412[1]  2412[1]
        Power|Edge 0 :   60|0     60|0     60|0     60|0     60|0     60|0     60|0     60|0     60|0     60|0     60|0     60|0  

         Frequency 1 :  2417[2]  2417[2]  2417[2]  2417[2]  2417[2]  2417[2]  2417[2]  2417[2]  2417[2]  2417[2]  2417[2]  2417[2]
        Power|Edge 1 :   60|1     60|1     60|1     60|1     60|1     60|1     60|1     60|1     60|1     60|1     60|1     60|1  

         Frequency 2 : 2462[11] 2462[11] 2462[11] 2462[11] 2472[13] 2472[13] 2472[13] 2472[13] 2472[13] 2472[13] 2472[13] 2472[13]
        Power|Edge 2 :   60|0     60|0     60|0     60|0     60|0     60|0     60|0     60|0     60|0     60|0     60|0     60|0  

         Frequency 3 : 2484[14] 2484[14] 2484[14] 2484[14] 2484[14] 2484[14] 2484[14] 2484[14] 2484[14] 2484[14] 2484[14] 2484[14]
        Power|Edge 3 :   60|1     60|1     60|1     60|1     60|1     60|1     60|1     60|1     60|1     60|1     60|1     60|1  
----------------------------------------------------------------------------------------
 2.4GHz Modal Header : Chain0 Chain1 Chain2
        Ant. Control : 0x0010 0x0010 0x0010
        NF Threshold :     -1      0      0
           xatten1DB :     27     27     27
       xatten1Margin :     12     12     12
          Temp Slope :         31
          Quick Drop :          0
      spur Frequency :  2464[11+]       0x00       0x00       0x00       0x00
 Ant. Common Control : 0x00000110
Ant. Common Control2 : 0x000EEEEE
           Ant. Gain :          0
       Switch Settle :         44
          Volt Slope :          0
       txEndToXpaOff :          0
         txEndToRxOn :          2
      XPA Bias Level :          0
  txFrameToDataStart :         14
       txFrameToPaOn :         14
      txFrameToXpaOn :         14
              txClip :          3
    ADC Desired Size :        -30
            Thresh62 :         28
     PAPRD Rate Mask : 5S 11L 11S HT20_7 HT20_12 HT20_13 SCALE:6
PAPRD Rate Mask HT40 : 5S 11L 11S HT20_7 HT20_12 HT20_13
     switch com spdt :          0
  XLNA Bias Strength :          0
            Reserved : 00 00 00 00 00 00 00 00 00 00 00
        Future Modal : 00 00 00 00 00 00 00
----------------------------------------------------------------------------------------

EEPROM 0x5000:
----------------------------------------------------------------------------------------
      EEPROM Version :          2
    Template Version :          2
         MAC Address : 00 02 03 04 05 06
           Cust Data : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
----------------------------------------------------------------------------------------
          RegDomain1 :          0
          RegDomain2 :         31
             TX Mask : 0b00000111
             RX Mask : 0b00000111
---------------------------------
            Op Flags : 0b00000001
        Allow 2.4GHz :          0
          Allow 5GHz :          1
   Disable 5Ghz HT20 :          0
   Disable 5Ghz HT40 :          0
---------------------------------
            EEP Misc : 0b00000000
          Big Endian :          0
---------------------------------
           RF Silent :          0
           BT Option :          0
          Device Cap :          0
         Device Type :          4
  Power Table Offset :          0
         Tuning Caps :    64    0
---------------------------------
      Feature Enable : 0b01001101
 Enable Tx Temp Comp :          1
 Enable Tx Volt Comp :          0
   Enable Fast Clock :          1
     Enable Doubling :          1
  Internal Regulator :          0
  Enable PAPRD Scale :          0
  Enable Tuning Caps :          1
     XPA Timing Ctrl :          0
---------------------------------
  Misc Configuration : 0b00000100
     Driver Strength :          0
         Thermometer :          1
   Chain Mask Reduce :          0
   Enable Quick Drop :          0
Temp Slope Extension :          0
Enable Bias Strength :          0
---------------------------------
   Write Enable GPIO :          3
   WLAN Disable GPIO :          0
       WLAN LED GPIO :          8
 Rx Band Select GPIO :        255
             Tx Gain :          0
             Rx Gain :          0
              SW Reg : 0x00000000
----------------------------------------------------------------------------------------
     Ant Div Control :          0
              Future : 00 00
---------------------------------
         Misc Enable : 0b00000000
         TX Gain Cap :          0
 Uncompress Checksum :          0
      MinCCApwr 5GHz :          0
---------------------------------
Temp Slope Extension :  0   0   0   0   0   0   0   0
----------------------------------------------------------------------------------------
    Calibration 5GHz :   Chain0 Chain1 Chain2

         Frequency 0 :  5745[149]
         Ref Power 0 :    -11    -20    -13
         Volt Meas 0 :      0      0      0
         Temp Meas 0 :    142    143    143
 RX Noisefloor Cal 0 :      0      0      0
 RX Noisefloor Pwr 0 :      0      0      0
      RX Temp Meas 0 :      0      0      0

         Frequency 1 :  5825[165]
         Ref Power 1 :    -18    -25    -20
         Volt Meas 1 :      0      0      0
         Temp Meas 1 :    143    143    143
 RX Noisefloor Cal 1 :      0      0      0
 RX Noisefloor Pwr 1 :      0      0      0
      RX Temp Meas 1 :      0      0      0

         Frequency 2 :   5320[64]
         Ref Power 2 :      0      0      0
         Volt Meas 2 :      0      0      0
         Temp Meas 2 :      0      0      0
 RX Noisefloor Cal 2 :      0      0      0
 RX Noisefloor Pwr 2 :      0      0      0
      RX Temp Meas 2 :      0      0      0

         Frequency 3 :  5400[64+]
         Ref Power 3 :      0      0      0
         Volt Meas 3 :      0      0      0
         Temp Meas 3 :      0      0      0
 RX Noisefloor Cal 3 :      0      0      0
 RX Noisefloor Pwr 3 :      0      0      0
      RX Temp Meas 3 :      0      0      0

         Frequency 4 :  5500[100]
         Ref Power 4 :      0      0      0
         Volt Meas 4 :      0      0      0
         Temp Meas 4 :      0      0      0
 RX Noisefloor Cal 4 :      0      0      0
 RX Noisefloor Pwr 4 :      0      0      0
      RX Temp Meas 4 :      0      0      0

         Frequency 5 :  5600[120]
         Ref Power 5 :      0      0      0
         Volt Meas 5 :      0      0      0
         Temp Meas 5 :      0      0      0
 RX Noisefloor Cal 5 :      0      0      0
 RX Noisefloor Pwr 5 :      0      0      0
      RX Temp Meas 5 :      0      0      0

         Frequency 6 : 5725[140+]
         Ref Power 6 :      0      0      0
         Volt Meas 6 :      0      0      0
         Temp Meas 6 :      0      0      0
 RX Noisefloor Cal 6 :      0      0      0
 RX Noisefloor Pwr 6 :      0      0      0
      RX Temp Meas 6 :      0      0      0

         Frequency 7 :  5825[165]
         Ref Power 7 :      0      0      0
         Volt Meas 7 :      0      0      0
         Temp Meas 7 :      0      0      0
 RX Noisefloor Cal 7 :      0      0      0
 RX Noisefloor Pwr 7 :      0      0      0
      RX Temp Meas 7 :      0      0      0
----------------------------------------------------------------------------------------
     Target 5GHz 11A :  6-24  36   48   54

         Frequency 0 :   5180[36]
             Power 0 :   38   36   34   32

         Frequency 1 :   5240[48]
             Power 1 :   38   36   34   32

         Frequency 2 :   5320[64]
             Power 2 :   38   36   34   32

         Frequency 3 :  5400[64+]
             Power 3 :   38   36   34   32

         Frequency 4 :  5500[100]
             Power 4 :   38   36   34   32

         Frequency 5 :  5600[120]
             Power 5 :   38   36   34   32

         Frequency 6 :  5700[140]
             Power 6 :   38   36   34   32

         Frequency 7 :  5825[165]
             Power 7 :   38   36   34   32
----------------------------------------------------------------------------------------
    Target 5GHz HT20 :0-16 1-19  4   5   6   7  12  13  14  15  20  21  22  23

         Frequency 0 :   5180[36]
             Power 0 :  38  38  36  34  32  30  36  32  30  28  34  32  30  28

         Frequency 1 :   5220[44]
             Power 1 :  38  38  36  34  32  30  36  32  30  28  34  32  30  28

         Frequency 2 :   5320[64]
             Power 2 :  38  38  36  34  32  30  36  32  30  28  34  32  30  28

         Frequency 3 :  5500[100]
             Power 3 :  38  38  36  34  32  30  36  32  30  28  34  32  30  28

         Frequency 4 :  5600[120]
             Power 4 :  38  38  36  34  32  30  36  32  30  28  34  32  30  28

         Frequency 5 :  5700[140]
             Power 5 :  38  38  36  34  32  30  36  32  30  28  34  32  30  28

         Frequency 6 :  5745[149]
             Power 6 :  38  38  36  34  32  30  36  32  30  28  34  32  30  28

         Frequency 7 :  5825[165]
             Power 7 :  38  38  36  34  32  30  36  32  30  28  34  32  30  28
----------------------------------------------------------------------------------------
    Target 5GHz HT40 :0-16 1-19  4   5   6   7  12  13  14  15  20  21  22  23

         Frequency 0 :   5190[38]
             Power 0 :  38  38  36  34  32  30  34  32  30  28  34  32  30  28

         Frequency 1 :   5230[46]
             Power 1 :  38  38  36  34  32  30  34  32  30  28  34  32  30  28

         Frequency 2 :  5310[60+]
             Power 2 :  38  38  36  34  32  30  34  32  30  28  34  32  30  28

         Frequency 3 : 5510[100+]
             Power 3 :  38  38  36  34  32  30  34  32  30  28  34  32  30  28

         Frequency 4 : 5550[108+]
             Power 4 :  38  38  36  34  32  30  34  32  30  28  34  32  30  28

         Frequency 5 : 5670[132+]
             Power 5 :  38  38  36  34  32  30  34  32  30  28  34  32  30  28

         Frequency 6 : 5755[149+]
             Power 6 :  38  38  36  34  32  30  34  32  30  28  34  32  30  28

         Frequency 7 : 5795[157+]
             Power 7 :  38  38  36  34  32  30  34  32  30  28  34  32  30  28
----------------------------------------------------------------------------------------
     Regulatory 5GHz :  FCC__11A  FCC_HT20  FCC_HT40  MKK__11A  MKK_HT20  MKK_HT40  ETSI_11A  ETSIHT20  ETSIHT40

         Frequency 0 :  5180[36]  5180[36]  5180[36]  5180[36]  5180[36]  5180[36]  5180[36]  5180[36]  5180[36]
        Power|Edge 0 :    60|0      60|0      60|0      60|0      60|0      60|0      60|0      60|0      60|0  

         Frequency 1 :  5220[44]  5220[44]  5220[44]  5220[44]  5220[44]  5220[44]  5220[44]  5220[44]  5220[44]
        Power|Edge 1 :    60|1      60|1      60|1      60|1      60|1      60|1      60|1      60|1      60|1  

         Frequency 2 :  5320[64]  5320[64]  5320[64]  5320[64]  5320[64]  5320[64]  5320[64]  5320[64]  5320[64]
        Power|Edge 2 :    60|0      60|0      60|0      60|0      60|0      60|0      60|0      60|0      60|0  

         Frequency 3 : 5400[64+] 5400[64+] 5400[64+] 5400[64+] 5400[64+] 5400[64+] 5400[64+] 5400[64+] 5400[64+]
        Power|Edge 3 :    60|1      60|1      60|1      60|1      60|1      60|1      60|1      60|1      60|1  

         Frequency 4 : 5500[100] 5500[100] 5500[100] 5500[100] 5500[100] 5500[100] 5500[100] 5500[100] 5500[100]
        Power|Edge 4 :    60|0      60|0      60|0      60|0      60|0      60|0      60|0      60|0      60|0  

         Frequency 5 : 5600[120] 5600[120] 5600[120] 5600[120] 5600[120] 5600[120] 5600[120] 5600[120] 5600[120]
        Power|Edge 5 :    60|1      60|1      60|1      60|1      60|1      60|1      60|1      60|1      60|1  

         Frequency 6 :5725[140+]5725[140+]5725[140+]5725[140+]5725[140+]5725[140+]5725[140+]5725[140+]5725[140+]
        Power|Edge 6 :    60|0      60|0      60|0      60|0      60|0      60|0      60|0      60|0      60|0  

         Frequency 7 : 5825[165] 5825[165] 5825[165] 5825[165] 5825[165] 5825[165] 5825[165] 5825[165] 5825[165]
        Power|Edge 7 :    60|1      60|1      60|1      60|1      60|1      60|1      60|1      60|1      60|1  
----------------------------------------------------------------------------------------
   5GHz Modal Header :    Chain0         Chain1         Chain2
        Ant. Control :    0x0010         0x0010         0x0010
        NF Threshold :        -1              0              0
         Range Chain :  Low  Mid  High Low  Mid  High Low  Mid  High
           xatten1DB :   21   25   28   22   25   27   21   25   24
       xatten1Margin :   11   18   11   11   18   11   11   18   11
               Range :  Low  Mid  High
          Temp Slope :   65   78   86
          Quick Drop :    0    0    0
      spur Frequency :  5500[100]       0x00       0x00       0x00       0x00
 Ant. Common Control : 0x00000110
Ant. Common Control2 : 0x00022222
           Ant. Gain :          0
       Switch Settle :         45
          Volt Slope :          0
       txEndToXpaOff :          0
         txEndToRxOn :          2
      XPA Bias Level :         15
  txFrameToDataStart :         14
       txFrameToPaOn :         14
      txFrameToXpaOn :         14
              txClip :          3
    ADC Desired Size :        -30
            Thresh62 :         28
     PAPRD Rate Mask : 5S 11L 11S HT20_7 HT20_12 HT20_13 HT20_22 HT20_23 HT40_0_8_16 HT40_1_3_9_11_17_19 HIGH_SCALE:6
PAPRD Rate Mask HT40 : 5S 11L 11S HT20_7 HT20_12 HT20_13 HT20_22 HT20_23 HT40_0_8_16 HT40_1_3_9_11_17_19 LOW_SCALE:6 MID_SCALE:6
     switch com spdt :          0
  XLNA Bias Strength :          0
            Reserved : 00 00 00 00 00 00 00 00 00 00 00
        Future Modal : 00 00 00 00 00 00 00
----------------------------------------------------------------------------------------
           Frequency :    Low    Mid   High
         PAPRD Scale :  <5400 >=5400 >=5700
               Other :   5180   5500   5785
----------------------------------------------------------------------------------------

I can't properly judge the values. Anyone care to chime in? I'm mainly interested if the 4320 has more unrestricted values for the 2.4GHz band, like less software attenuation or stuff like that. With google translate I could make out that the 2.4GHz band tested better for the 4320 version vs 4300, so having the same hardware, I presume it's something software and the fact that the antennas are separated and tuned for 2.4GHz.
After the hardware mod I may just burn the 4320 ART partition and see if the signal is somewhat better.

(Last edited by bob808 on 4 Nov 2016, 04:33)

well if we could understand Ref Power and Temp Meas calibration values it would be easy to tell.

target powers are more unrestricted in the later. you have 19dBm for legacy, 18dBm for HT20 and 17dBm for HT40 on yours vs 20dBm for HT40, 21dBm for legacy and HT20 in 4320..

I also see a difference in the Tuning Caps values, so I don't know if it's as easy as replacing the ART partition with the other one. In all fairness the bands are separated on the 4320 one, and might have some extra parts on the pcb. Need to do a better inspection of the 2.4GHz front end on both.
I sent a message to pepe2k, maybe he has some ideas as well.
Thanks!

I added two omnidirectional biquad antennas in parallel to the existing 2.4GHz/5GHz ones using a pair of pigatils soldered in parallel on the pcb.
I noticed that alignment matters a lot. After playing for a bit with them, I managed to get a nice signal upstairs.
I put a raspberry pi with a 150n wifi dongle upstairs, then came back down and did some tests and monitoring.
I made a webserver on my computer, and set a large file for download on the raspberry pi. My computer is linked via gigabit to the router.
Max download speed is 6.32MBps, roughly 50mbps. Which is really great as before I had dropouts upstairs. This speed is the same not mattering if 5GHz is on or off.
What I did next was to try and make some traffic on the 5GHz line to see how the 2.4GHz line is affected. Used phone for speedtest, connected on the 5GHz line. Phone maxes the internet link, 105mbps or so upload and download. While on the downloading phase, the raspberry download speed is great, no change. While my phone uploads on the 5GHz line, the dowload speed on the raspberry drops, by a bit more than half.
So, uploading on the 5GHz line affects the download speed on the 2.4GHz line. This is because the raspberry downloads directly from my computer, has nothing to do with the internet.
So, any ideas? Is this something normal?

Enabling Wifi 2.4 Ghz channel 12 and 13 on ar71xx (TL-WR710N, TL-WDR3600, TL-WR4300, etc.),  enable all channels from 36 to 165 on 5 GHz (TL-WDR3600/4300), and get higher power on both bands.

There is a law in the US or an FCC regulation that requires all Wifi devices shipped to determine on the hardware level (in this case, in the driver) whether the desired frequency and power level is allowed.
Unfortunately, TP-Link simply sets the bit to US mode on all devices shipped worldwide. The stock firmware ignores it and offers frequency and power choice based on the selected country code. OpenWRT however (as would a stock Linux kernel) respects the bit and applies a logic AND over the selected regulatory domain and the US regulatory domain.
Luckily, someone created a binary patch called reghack that replaces the in-driver US regulations with unrestricted ones. smile

All informations here: http://blog.michael.kuron-germany.de/20 … nt-page-1/

The reghack utility (tested on Barrier Breaker and Chaos Calmer for TL-WR710N and TL-WDR3600/TL-WDR-4300, it does not work on A.A. firmware) replaces the regulatory domain rules in the driver binaries with less restrictive ones. The current version also lifts the 5GHz radar
channel restrictions in ath9k.

- basically:

cd /tmp/
wget http://luci.subsignal.org/~jow/reghack/reghack.mips.elf
chmod +x reghack.mips.elf
./reghack.mips.elf /lib/modules/*/ath.ko
./reghack.mips.elf /lib/modules/*/cfg80211.ko
reboot

before on TL-WR710N and TL-WDR3600:

iw phy phy0 info

                    * 2412 MHz [1] (30.0 dBm)
            * 2417 MHz [2] (30.0 dBm)
            * 2422 MHz [3] (30.0 dBm)
            * 2427 MHz [4] (30.0 dBm)
            * 2432 MHz [5] (30.0 dBm)
            * 2437 MHz [6] (30.0 dBm)
            * 2442 MHz [7] (30.0 dBm)
            * 2447 MHz [8] (30.0 dBm)
            * 2452 MHz [9] (30.0 dBm)
            * 2457 MHz [10] (30.0 dBm)
            * 2462 MHz [11] (30.0 dBm)
            * 2467 MHz [12] (disabled)
            * 2472 MHz [13] (disabled)
            * 2484 MHz [14] (disabled)

After applying the patch:

iw phy phy0 info

Frequencies:
            * 2412 MHz [1] (30.0 dBm)
            * 2417 MHz [2] (30.0 dBm)
            * 2422 MHz [3] (30.0 dBm)
            * 2427 MHz [4] (30.0 dBm)
            * 2432 MHz [5] (30.0 dBm)
            * 2437 MHz [6] (30.0 dBm)
            * 2442 MHz [7] (30.0 dBm)
            * 2447 MHz [8] (30.0 dBm)
            * 2452 MHz [9] (30.0 dBm)
            * 2457 MHz [10] (30.0 dBm)
            * 2462 MHz [11] (30.0 dBm)
            * 2467 MHz [12] (30.0 dBm)
            * 2472 MHz [13] (30.0 dBm)
            * 2484 MHz [14] (disabled)

Note: to check the 5 Ghz channels on TL-WDR3600  use the following command:

iw phy phy1 info

After applying the patch on TL-WDR3600:

Frequencies:
            * 5180 MHz [36] (30.0 dBm)
            * 5200 MHz [40] (30.0 dBm)
            * 5220 MHz [44] (30.0 dBm)
            * 5240 MHz [48] (30.0 dBm)
            * 5260 MHz [52] (30.0 dBm)
            * 5280 MHz [56] (30.0 dBm)
            * 5300 MHz [60] (30.0 dBm)
            * 5320 MHz [64] (30.0 dBm)
            * 5500 MHz [100] (30.0 dBm)
            * 5520 MHz [104] (30.0 dBm)
            * 5540 MHz [108] (30.0 dBm)
            * 5560 MHz [112] (30.0 dBm)
            * 5580 MHz [116] (30.0 dBm)
            * 5600 MHz [120] (30.0 dBm)
            * 5620 MHz [124] (30.0 dBm)
            * 5640 MHz [128] (30.0 dBm)
            * 5660 MHz [132] (30.0 dBm)
            * 5680 MHz [136] (30.0 dBm)
            * 5700 MHz [140] (30.0 dBm)
            * 5745 MHz [149] (30.0 dBm)
            * 5765 MHz [153] (30.0 dBm)
            * 5785 MHz [157] (30.0 dBm)
            * 5805 MHz [161] (30.0 dBm)
            * 5825 MHz [165] (30.0 dBm)

Note: TP-Link saved a few cents on the 2.4 and 5 GHz power amplifier, which doesn’t even do more than 100 mW ( 20 dBm) on 2.4 Ghz and 63 mW (18 dBm) on 5 Ghz.

Warning: Before you change channels and transmission power on your Wifi devices, check with the regulation authority what is legally allowed in your location. The hardware is capable of things that can interfere with radar etc. and you should never set it to a country code other than your current location. Even then, you might be able to choose options that are not legal to operate.

-------------------------------------------------------------------------------------------------------
Almost all countries defines power limitations for Wi-Fi devices (EIRP max).
The key to applying these rules is to understand EIRP (Equivalent Isotropically Radiated Power), which represents the total effective transmit power of the radio, including gains that the antenna provides (and losses from the antenna cable and connectors).

The EIRP is calculated using this formula:

EIRP = Effective Isotropic Radiated Power

Pout = transmitter power output (dBm)

Ct = signal loss in cable (dB)

Gt = gain of the antenna (dBi)

Pout - Ct + Gt = EIRP

When installing a wireless system with external (or internal) antenna, your EIRP calculation should not exceed the class license limit. Other wise you must adjust either the transmitter power output, the length of cable and/or the choice of antenna.
You may find the gain of a router antenna in the specification manual, this value generally includes signal loss in cable (the cable from the router board to the antenna).
The RP-SMA antenna connector (female+male) present in many routers, also has a little signal loss, but you can ignore it in the EIRP calculation.

Generally the internal antenna gain (antenna printed on PCB) of a router like the TL-WR710N is about 2 dBi.
The TL-WDR3600 has two external antennas with 2 dBi @ 2.4 Ghz and 3 dBi @ 5 Ghz gain each.
The small external antennas of many router, like D-Link 600, have 2 dBi gain,
just a few high power routers have 4-5 dBi antennas.

Most of the time you get better results (coverage and signal improvements) by increasing the gain of the antenna than increasing the output power, more power means also more EMF noise and disturbances.

(Last edited by pilovis on 27 Dec 2017, 20:53)

The discussion might have continued from here.