Wireless: Difference between revisions

From PS4 Developer wiki
Jump to navigation Jump to search
No edit summary
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[File:SAB-K02-Antenna_and_module_Position.png|200px|thumb|right|wireless communication antennas and module [[J20H071]] ([[CUH-1115A]])]]
= Wireless communication module =
= Wireless communication module =


The PS4 Wireless communication module supports [[Wifi]] and [[Bluetooth]].
The PS4 Wireless communication module supports [[Wi-Fi]] and [[Bluetooth]].
 
== Wireless communication module Label Diagram ==
 
See [https://fccid.io/AK8M18DFT1/Label/06-Label-and-Location-3783449 diagram on FCC ID.io].


== PS4 Prototype ==
== PS4 Prototype ==
Line 9: Line 15:
== PS4 Fat ==
== PS4 Fat ==


[[File:SAB-K02-Antenna_and_module_Position.png|200px|thumb|right|wireless communication antennas and module J20H071 ([[CUH-1115A]])]]
On PS4 Slim and Pro, the Wireless communication module is a Sony [[J20H091]].


See also : "(Short term Confidential)Internal Photo_RF" at [https://apps.fcc.gov/oetcf/eas/reports/ViewExhibitReport.cfm?mode=Exhibits&RequestTimeout=500&calledFromFrame=Y&application_id=549060&fcc_id=AK8CUH100C1 AK8CUH100C1 filing] ([[CUH-10xxA series]]) / [https://fcc.io/AK8/DUTD1000 AK8DUTD1000 filing] ([[DUH-D1000xA series]])
== PS4 Slim and Pro ==
<gallery>
File:SAA-K23 wireless module - bottom.png|[[CVN-K12]]/[[SAA-K23]]/[[SAA-001]] wireless communication module - bottom
File:SAA-K23 wireless module - top.png|[[CVN-K12]]/[[SAA-K23]]/[[SAA-001]] wireless communication module - top
File:SAA-K23 wireless module without shielding - top.png|[[CVN-K12]]/[[SAA-K23]]/[[SAA-001]] wireless communication module without shielding - top
</gallery>


See also : "(Short term Confidential)Internal Photo_RF" at [https://apps.fcc.gov/oetcf/eas/reports/ViewExhibitReport.cfm?mode=Exhibits&RequestTimeout=500&calledFromFrame=Y&application_id=898954&fcc_id=AK8CUH100F1 AK8CUH100F1 filing] ([[CUH-11xxA series]])
On PS4 Slim and Pro, the Wireless communication module has become [[J20H091]], [[J20H096]] or [[AW-CB319]] which are improved: they supports Wi-Fi ac and Bluetooth 5.0.
<gallery>
File:SAB-K02 wireless module - bottom.png|[[SAB-K02]]/[[SAB-001]] wireless communication module - bottom
File:SAB-K02 wireless module - top.png|[[SAB-K02]]/[[SAB-001]] wireless communication module - top
File:SAB-K02 wireless module without shielding - top.png|[[SAB-K02]]/[[SAB-001]] wireless communication module without shielding - top
</gallery>


=== Marvell Avastar 88W8797 ===
= Wireless communication module firmware =
 
* [https://github.com/x0rloser/ps4_wifi_bt PS4 Wireless communication module Reverse Engineering tools].
* [https://github.com/LairdCP/lrdmwl Torus interface driver source code]
* [https://github.com/LairdCP/lrdmwl/commit/9a495cd65fc751602805a0e8a6bd1bf019518de7 Marvell Avastar Firmware binaries (non-PS4)]


Single-Chip 2x2 802.11 a/b/g/n + BT 4.0 Dual-mode + FM Tx/Rx
== Wireless communication module firmware corruption ==


* [https://www.marvell.com/content/dam/marvell/en/public-collateral/wireless/marvell-wireless-88w8797-product-brief-2019-01.pdf marvell-wireless-88w8797-product-brief-2019-01.pdf]
The Wireless communication module firmware is stored within the [[Flash-Main]] of the PS4 in a file designated C0020001. It is updated during the firmware updates of the PS4. This firmware is known to get corrupt ?how?, rendering the Wi-Fi and Bluetooth broken. This means that the DualShock controller cannot function in the XMB. However, the controller can still be used in safe mode as this is the only software of the PS4 that does not utilize the Wireless communication module firmware at all, rather it only connects to the controller via USB. This problem is repairable, given you have a copy of the same firmware for your module.
* [https://dtsheet.com/doc/1285471/marvell-avastar-88w8797-integrated-2x2-wlan-bluetooth-fm marvell-avastar-88w8797-integrated-2x2-wlan-bluetooth-fm]


Subboard is BGA soldered with 9x7 grid, with some pads not present.
How to know if the PS4 Wireless communication module firmware is corrupted? If your PS4 wireless controller (DualShock 4) does not synchronizes anywhere but in the safe mode (by USB).


== PS4 Slim and Pro ==
Note: If your controller does not sync in safe mode, there is a Southbridge/USB port issue so you should fix Southbridge/USB before.


On PS4 Slim and Pro, the Wireless communication module has been improved: it supports Wifi ac.
=== PS4-BT_WIFI-PATCHER by pearlxcore ===


* Model: Sony J20H091
* [https://github.com/pearlxcore/PS4-BT_WIFI-PATCHER]
* FCC ID: AK8M16DFL1
* IC: 409B-M16DFL1
* [https://fccid.io/AK8M16DFL1]


=== Marvell Avastar 88W8897 ===
=== PS4 WiFi/BT Patcher & Extractor by BwE ===


Marvell Avastar 88W8897 is the 88W8797 SoC updated to support Wifi ac.
[[File:Screenshot2.png|300px|thumb|left|Wi-Fi/BT Results]]


* [https://www.marvell.com/content/dam/marvell/en/public-collateral/wireless/marvell-wireless-avastar-88w8897-product-brief-2015-05.pdf marvell-wireless-avastar-88w8897-product-brief-2015-05.pdf]
[[User:BwE]] has developped a PC program to aid in the validation, repair and extraction of the Wireless communication module firmware. It will use MD5, entropy and pattern analysis to determine if and where the module is corrupted. From here it will determine a valid replacement based on the PS4's expected module version and size. Should there be no matching version available the program will offer you the ability to patch a new header and new module. This methodology is risky, but if this is your only option then it is worth a try.
* [https://www.marvell.com/content/dam/marvell/en/public-collateral/wireless/marvell-wireless-88w8897-product-brief-2018-10.pdf marvell-wireless-88w8897-product-brief-2018-10.pdf]
* [https://www.marvell.com/content/dam/marvell/en/public-collateral/wireless/Marvell-WiFi-CVE-2019-6496-Jan-24-2019.pdf Marvell-WiFi-CVE-2019-6496-Jan-24-2019.pdf]


= Wireless communication module firmware =
BwE has included a small sample of valid patches for you to use, but you may have to source more yourself. Just place them in the /Patches/ directory with any file name. If your patch is not listed and you enjoy risk, the program allows patching a the firmware of your choice.


* [https://github.com/x0rloser/ps4_wifi_bt PS4 Wireless communication module Reverse Engineering tools].
* [https://www.psxhax.com/threads/bwe-ps4-wifi-bt-patcher-extractor-v1-00-by-betterwayelectronics.5936/ Support/Information Forum about BwE PS4 WiFi/BT Patcher Extractor v1.00]
* [https://github.com/LairdCP/lrdmwl Torus interface driver source code]
* [https://github.com/BetterWayElectronics/ps4-wifibt-patcher-extractor ps4-wifibt-patcher-extractor on github]
* [https://github.com/LairdCP/lrdmwl/commit/9a495cd65fc751602805a0e8a6bd1bf019518de7 Marvell Avastar Firmware binaries (non-PS4)]


= Wireless communication antennas =
= Wireless communication antennas =
Line 61: Line 54:
To be documented.
To be documented.


= Overlapping channels BT/WiFi =
= Overlapping channels BT/Wi-Fi =


{| class="wikitable"
{| class="wikitable"
|-
|-
! Center Frequency<br />(2.4xx Ghz) !! BT 2.0<br />Channel !! BT 4.0<br />Channel !! colspan="5" | WiFi channel<br />(center freq. in GHz)
! Center Frequency<br />(2.4xx Ghz) !! BT 2.0<br />Channel !! BT 4.0<br />Channel !! colspan="5" | Wi-Fi channel<br />(center freq. in GHz)
|-
|-
| 00 || rowspan="2" | Guard || rowspan="2" | Guard
| 00 || rowspan="2" | Guard || rowspan="2" | Guard

Latest revision as of 05:02, 7 March 2021

wireless communication antennas and module J20H071 (CUH-1115A)

Wireless communication module[edit | edit source]

The PS4 Wireless communication module supports Wi-Fi and Bluetooth.

Wireless communication module Label Diagram[edit | edit source]

See diagram on FCC ID.io.

PS4 Prototype[edit | edit source]

To be documented.

PS4 Fat[edit | edit source]

On PS4 Slim and Pro, the Wireless communication module is a Sony J20H091.

PS4 Slim and Pro[edit | edit source]

On PS4 Slim and Pro, the Wireless communication module has become J20H091, J20H096 or AW-CB319 which are improved: they supports Wi-Fi ac and Bluetooth 5.0.

Wireless communication module firmware[edit | edit source]

Wireless communication module firmware corruption[edit | edit source]

The Wireless communication module firmware is stored within the Flash-Main of the PS4 in a file designated C0020001. It is updated during the firmware updates of the PS4. This firmware is known to get corrupt ?how?, rendering the Wi-Fi and Bluetooth broken. This means that the DualShock controller cannot function in the XMB. However, the controller can still be used in safe mode as this is the only software of the PS4 that does not utilize the Wireless communication module firmware at all, rather it only connects to the controller via USB. This problem is repairable, given you have a copy of the same firmware for your module.

How to know if the PS4 Wireless communication module firmware is corrupted? If your PS4 wireless controller (DualShock 4) does not synchronizes anywhere but in the safe mode (by USB).

Note: If your controller does not sync in safe mode, there is a Southbridge/USB port issue so you should fix Southbridge/USB before.

PS4-BT_WIFI-PATCHER by pearlxcore[edit | edit source]

PS4 WiFi/BT Patcher & Extractor by BwE[edit | edit source]

Wi-Fi/BT Results

User:BwE has developped a PC program to aid in the validation, repair and extraction of the Wireless communication module firmware. It will use MD5, entropy and pattern analysis to determine if and where the module is corrupted. From here it will determine a valid replacement based on the PS4's expected module version and size. Should there be no matching version available the program will offer you the ability to patch a new header and new module. This methodology is risky, but if this is your only option then it is worth a try.

BwE has included a small sample of valid patches for you to use, but you may have to source more yourself. Just place them in the /Patches/ directory with any file name. If your patch is not listed and you enjoy risk, the program allows patching a the firmware of your choice.

Wireless communication antennas[edit | edit source]

To be documented.

Overlapping channels BT/Wi-Fi[edit | edit source]

Center Frequency
(2.4xx Ghz)
BT 2.0
Channel
BT 4.0
Channel
Wi-Fi channel
(center freq. in GHz)
00 Guard Guard
01 1
(2.412)
02 0 0
03 1
04 2 1
05 3
06 4 2 2
(2.417)
07 5
08 6 3
09 7
10 8 4
11 9 3
(2.422)
12 10 5
13 11
14 12 6
15 13
16 14 7 4
(2.427)
17 15
18 16 8
19 17
20 18 9
21 19 5
(2.432)
22 20 10
23 21
24 22 11
25 23
26 24 12 6
(2.437)
27 25
28 26 13
29 27
30 28 14
31 29 7
(2.442)
32 30 15
33 31
34 32 16
35 33
36 34 17 8
(2.447)
37 35
38 36 18
39 37
40 38 19
41 39 9
(2.452)
42 40 20
43 41
44 42 21
45 43
46 44 22 10
(2.457)
47 45
48 46 23
49 47
50 48 24
51 49 11
(2.462)
52 50 25
53 51
54 52 26
55 53
56 54 27 12
(2.467)
57 55
58 56 28
59 57
60 58 29
61 59 13
(2.472)
62 60 30
63 61
64 62 31
65 63
66 64 32
67 65
68 66 33
69 67
70 68 34
71 69
72 70 35
73 71
74 72 36
75 73
76 74 37
77 75
78 76 38
79 77
80 78 39
81 Guard
82 Guard
83