metalmajor
Posts: 33
Joined: Fri Oct 20, 2017 9:40 pm

RP3 B+ internal wifi as AP unstable

Wed Oct 24, 2018 6:42 am

Hi,

I am using the wifi on the RPI3 B+ as a wifi access point, and that works mostly at startup, but sometimes it fails after a while. I am using the kernel with the tag raspberrypi-kernel_1.20180924-1 which is a 4.14.71 kernel. This is the bootup sequence I get with dmesg:

Code: Select all

# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.71-1 ([email protected]) (gcc version 7.3.0 (GCC)) #1 SMP Tue Oct 23 11:18:10 CEST 2018
[    0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Raspberry Pi 3 Model B Plus Rev 1.3
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 16 MiB at 0x2f000000
[    0.000000] On node 0 totalpages: 196608
[    0.000000] free_area_init_node: node 0, pgdat 80452d00, node_mem_map ae913000
[    0.000000]   Normal zone: 1536 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 196608 pages, LIFO batch:31
[    0.000000] percpu: Embedded 15 pages/cpu @ae8c4000 s32524 r8192 d20724 u61440
[    0.000000] pcpu-alloc: s32524 r8192 d20724 u61440 alloc=15*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 195072
[    0.000000] Kernel command line: 8250.nr_uarts=1 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 757084K/786432K available (3545K kernel code, 109K rwdata, 556K rodata, 180K init, 344K bss, 12964K reserved, 16384K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xb0800000 - 0xff800000   (1264 MB)
[    0.000000]     lowmem  : 0x80000000 - 0xb0000000   ( 768 MB)
[    0.000000]     modules : 0x7f000000 - 0x80000000   (  16 MB)
[    0.000000]       .text : 0x80008000 - 0x8037e718   (3546 kB)
[    0.000000]       .init : 0x8040b000 - 0x80438000   ( 180 kB)
[    0.000000]       .data : 0x80438000 - 0x80453500   ( 110 kB)
[    0.000000]        .bss : 0x80455000 - 0x804ab1d8   ( 345 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] arch_timer: cp15 timer(s) running at 19.20MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[    0.000007] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[    0.000021] Switching to timer-based delay loop, resolution 52ns
[    0.000246] Console: colour dummy device 80x30
[    0.000743] console [tty1] enabled
[    0.000780] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[    0.000819] pid_max: default: 4096 minimum: 301
[    0.001013] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001045] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001610] CPU: Testing write buffer coherency: ok
[    0.002177] Setting up static identity map for 0x8200 - 0x823c
[    0.002294] Hierarchical SRCU implementation.
[    0.002919] smp: Bringing up secondary CPUs ...
[    0.004813] smp: Brought up 1 node, 4 CPUs
[    0.004837] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[    0.004858] CPU: All CPU(s) started in HYP mode.
[    0.004875] CPU: Virtualization extensions available.
[    0.005492] devtmpfs: initialized
[    0.014556] random: get_random_u32 called from 0x801a150c with crng_init=0
[    0.014917] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4
[    0.015132] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.015172] futex hash table entries: 16 (order: -2, 1024 bytes)
[    0.015942] pinctrl core: initialized pinctrl subsystem
[    0.016267] NET: Registered protocol family 16
[    0.018435] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[    0.022724] Serial: AMBA PL011 UART driver
[    0.024272] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[    0.024723] uart-pl011 3f201000.serial: could not find pctldev for node /soc/[email protected]/uart0_pins, deferring probe
[    0.052287] bcm2835-dma 3f007000.dma: DMA legacy API manager at b0813000, dmachans=0x1
[    0.053661] SCSI subsystem initialized
[    0.053909] usbcore: registered new interface driver usbfs
[    0.053981] usbcore: registered new interface driver hub
[    0.054067] usbcore: registered new device driver usb
[    0.060095] raspberrypi-firmware soc:firmware: Attached to firmware from 2018-05-25 14:36
[    0.061228] clocksource: Switched to clocksource arch_sys_counter
[    0.069386] NET: Registered protocol family 2
[    0.070119] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.070249] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.070451] TCP: Hash tables configured (established 8192 bind 8192)
[    0.070595] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.070657] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.070928] NET: Registered protocol family 1
[    0.071136] Unpacking initramfs...
[    0.141598] Freeing initrd memory: 860K
[    0.143237] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    0.154973] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.155021] io scheduler noop registered
[    0.155040] io scheduler deadline registered (default)
[    0.158278] BCM2708FB: allocated DMA memory ef100000
[    0.158389] BCM2708FB: allocated DMA channel 0 @ b0813000
[    0.168816] Console: switching to colour frame buffer device 82x26
[    0.305325] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.322285] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[    0.333572] vc-sm: Videocore shared memory driver
[    0.339721] libphy: Fixed MDIO Bus: probed
[    0.344073] usbcore: registered new interface driver lan78xx
[    0.348169] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    0.380326] dwc_otg 3f980000.usb: base=0xf0980000
[    0.583862] Core Release: 2.80a
[    0.587097] Setting default values for core params
[    0.590341] Finished setting default values for core params
[    0.793821] Using Buffer DMA mode
[    0.796964] Periodic Transfer Interrupt Enhancement - disabled
[    0.800159] Multiprocessor Interrupt Enhancement - disabled
[    0.803363] OTG VER PARAM: 0, OTG VER FLAG: 0
[    0.806506] Dedicated Tx FIFOs mode
[    0.810302] WARN::dwc_otg_hcd_init:1046: FIQ DMA bounce buffers: virt = 0xaf114000 dma = 0xef114000 len=9024
[    0.816936] FIQ FSM acceleration enabled for :
[    0.816936] Non-periodic Split Transactions
[    0.816936] Periodic Split Transactions
[    0.816936] High-Speed Isochronous Endpoints
[    0.816936] Interrupt/Control Split Transaction hack enabled
[    0.832573] dwc_otg: Microframe scheduler enabled
[    0.832663] WARN::hcd_init_fiq:459: FIQ on core 1 at 0x80274110
[    0.835901] WARN::hcd_init_fiq:460: FIQ ASM at 0x80274434 length 36
[    0.839081] WARN::hcd_init_fiq:486: MPHI regs_base at 0xf0006000
[    0.842237] dwc_otg 3f980000.usb: DWC OTG Controller
[    0.845326] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[    0.848400] dwc_otg 3f980000.usb: irq 62, io mem 0x00000000
[    0.851457] Init: Port Power? op_state=1
[    0.854430] Init: Power Port (0)
[    0.857509] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    0.860533] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.863578] usb usb1: Product: DWC OTG Controller
[    0.866575] usb usb1: Manufacturer: Linux 4.14.71-1 dwc_otg_hcd
[    0.869608] usb usb1: SerialNumber: 3f980000.usb
[    0.873172] hub 1-0:1.0: USB hub found
[    0.876659] hub 1-0:1.0: 1 port detected
[    0.880197] dwc_otg: FIQ enabled
[    0.880205] dwc_otg: NAK holdoff enabled
[    0.880209] dwc_otg: FIQ split-transaction FSM enabled
[    0.880219] Module dwc_common_port init
[    0.880962] bcm2835-wdt 3f100000.watchdog: Broadcom BCM2835 watchdog timer
[    0.885136] bcm2835-cpufreq: min=600000 max=1400000
[    0.889087] sdhci: Secure Digital Host Controller Interface driver
[    0.891494] sdhci: Copyright(c) Pierre Ossman
[    0.893213] mmc-bcm2835 3f300000.mmc: could not get clk, deferring probe
[    0.894690] sdhost-bcm2835 3f202000.mmc: could not get clk, deferring probe
[    0.896230] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.898523] vchiq: vchiq_init_state: slot_zero = af180000, is_master = 0
[    0.901147] [vc_sm_connected_init]: start
[    0.907992] [vc_sm_connected_init]: end - returning 0
[    0.910006] NET: Registered protocol family 17
[    0.911889] Registering SWP/SWPB emulation handler
[    0.915340] uart-pl011 3f201000.serial: cts_event_workaround enabled
[    0.917032] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 87, base_baud = 0) is a PL011 rev2
[    1.684961] console [ttyAMA0] enabled
[    1.690989] mmc-bcm2835 3f300000.mmc: mmc_debug:0 mmc_debug2:0
[    1.698548] mmc-bcm2835 3f300000.mmc: DMA channel allocated
[    1.762324] sdhost: log_buf @ af113000 (ef113000)
[    1.805506] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    1.812480] Indeed it is in host mode hprt0 = 00021501
[    1.861205] NOHZ: local_softirq_pending 80
[    1.880209] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.888577] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.898075] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    1.904931] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[    1.912272] Freeing unused kernel memory: 180K
[    1.918138] This architecture does not have kernel memory protection.
[    1.957537] random: fast init done
[    1.994026] i2c /dev entries driver
[    2.010207] mmc1: new high speed SDIO card at address 0001
[    2.012719] usbcore: registered new interface driver usbhid
[    2.012722] usbhid: USB HID core driver
[    2.027871] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    2.035488] Indeed it is in host mode hprt0 = 00001101
[    2.110731] mmc0: host does not support reading read-only switch, assuming write-enable
[    2.127775] mmc0: new high speed SDHC card at address aaaa
[    2.135164] mmcblk0: mmc0:aaaa SC16G 14.8 GiB
[    2.144622]  mmcblk0: p1 p2 p3 p4
[    2.149087] mmcblk0: p4 size 32372928 extends beyond EOD, truncated
[    2.244675] NOHZ: local_softirq_pending 40
[    2.251350] NOHZ: local_softirq_pending 2c2
[    2.258092] NOHZ: local_softirq_pending 2c2
[    2.264736] NOHZ: local_softirq_pending 2c2
[    2.271314] NOHZ: local_softirq_pending 2c2
[    2.277881] NOHZ: local_softirq_pending 2c2
[    2.284433] NOHZ: local_softirq_pending 2c2
[    2.289643] NOHZ: local_softirq_pending 2c2
[    2.294841] NOHZ: local_softirq_pending 2c2
[    2.302866] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
[    2.311272] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
[    2.321346] usb 1-1: New USB device found, idVendor=0424, idProduct=2514
[    2.329218] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.337848] hub 1-1:1.0: USB hub found
[    2.344491] hub 1-1:1.0: 4 ports detected
[    2.353764] EXT4-fs (mmcblk0p2): recovery complete
[    2.364242] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    2.378824] EXT4-fs (mmcblk0p2): warning: maximal mount count reached, running e2fsck is recommended
[    2.393363] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
[    2.671279] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    2.801481] usb 1-1.1: New USB device found, idVendor=0424, idProduct=2514
[    2.801488] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.801841] hub 1-1.1:1.0: USB hub found
[    2.801893] hub 1-1.1:1.0: 3 ports detected
[    2.997828] 8021q: 802.1Q VLAN Support v1.8
[    3.004436] usbcore: registered new interface driver cdc_wdm
[    3.007846] usbcore: registered new interface driver cdc_ether
[    3.012044] usbcore: registered new interface driver cdc_ncm
[    3.055811] NET: Registered protocol family 10
[    3.062349] Segment Routing with IPv6
[    3.103858] usbcore: registered new interface driver usb-storage
[    3.112328] usbcore: registered new interface driver usbserial
[    3.115910] usbcore: registered new interface driver cdc_mbim
[    3.140549] usbcore: registered new interface driver huawei_cdc_ncm
[    3.148181] PPP generic driver version 2.4.2
[    3.154524] dwc_otg_handle_wakeup_detected_intr lxstate = 2
[    3.155613] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    3.189306] brcmfmac: F1 signature read @0x18000000=0x15264345
[    3.194043] brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac43455-sdio.bin for chip 0x004345(17221) rev 0x000006
[    3.230875] usbcore: registered new interface driver option
[    3.230927] usbserial: USB Serial support registered for GSM modem (1-port)
[    3.249031] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[    3.250117] bcm2835_alsa bcm2835_alsa: card created with 8 channels
[    3.446239] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Feb 27 2018 03:15:32 version 7.45.154 (r684107 CY) FWID 01-4fbe0b04
[    3.446639] brcmfmac: brcmf_c_preinit_dcmds: CLM version = API: 12.2 Data: 9.10.105 Compiler: 1.29.4 ClmImport: 1.36.3 Creation: 2018-03-09 18:56:28
[    3.581265] usb 1-1.1.1: new high-speed USB device number 4 using dwc_otg
[    3.722009] usb 1-1.1.1: New USB device found, idVendor=0424, idProduct=7800
[    3.722024] usb 1-1.1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    3.986195] random: crng init done
[    3.999956] libphy: lan78xx-mdiobus: probed
[    4.056723] uart-pl011 3f201000.serial: no DMA platform data
[    4.059767] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
[    4.518131] EXT4-fs (mmcblk0p4): mounted filesystem with ordered data mode. Opts: (null)
[    4.706925] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[    4.706936] brcmfmac: power management disabled
[    4.879461] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[    6.103950] 8021q: adding VLAN 0 to HW filter on device eth0
[    6.104147] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    6.722702] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   10.071371] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[   17.751364] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[   33.111359] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[   61.911357] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[  120.791350] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[  228.311361] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[  443.351359] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[  604.821430] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[  604.821518] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[  604.821602] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[  604.821660] brcmfmac: brcmf_sdio_dpc: failed backplane access over SDIO, halting operation
[  604.821667] brcmfmac: send_key_to_dongle: wsec_key error (-84)
[  914.391351] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[ 1815.521374] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[ 3535.831371] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[ 7181.271384] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[11113.431414] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[15045.591411] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[18977.751426] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[22254.551444] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[25859.031453] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[29463.521456] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[32525.947078] brcmfmac: brcmf_sdiod_regrw_helper: failed to read data [email protected], err: -110
[32525.947082] brcmfmac: brcmf_sdio_isr: failed backplane access
My bootloader config is:

Code: Select all

kernel=kernel
dtparam=audio,i2s,spi,i2c
start_file=start_x.elf
fixup_file=fixup_x.dat
gpu_mem=256
dtoverlay=pi3-disable-bt
enable_uart=1
decode_MPG2=
decode_WVC1=
enable_uart=1
dtparam=i2c=on
dtparam=i2c_baudrate=640000
initramfs initramfs.gz followkernel
dtoverlay=i2c-rtc,ds3231
I have the firmware for the broadcom chip like here below. Do I have the correct latest one, and where can I download it or check this?

Code: Select all

Firmware version = wl0: Feb 27 2018 03:15:32 version 7.45.154 (r684107 CY) FWID 01-4fbe0b04
The firmware file loaded is brcmfmac43455-sdio.bin and its md5 checksum is 963eb0d4903040974ee88b4f85cb1f4f for reference.

I am using the AP mode of the wifi chip. I use hostapd for this.

As you can see, the problems are a bit random I would say. I am using the official raspberry pi power adapter, and the only other device attached is a camera module.

I have seen this problem on another RP3 B+ too, so it is probably a software or firmware problem instead.
Also, I was using a 4.14.50 kernel before and there the problem also occurred, so it's really reproducable. The only obvious constant is the firmware and the 4.14 kernel.

I have used an edimax stick in the past, and that was very stable, but it would be weird that the built-in wifi would work not as good, so if only I would know what combination has been tested a lot, that would be most helpful.

EDIT: I just tested with an older firmware, but doesn't work either:

Code: Select all

....
[    3.555998] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Mar  1 2015 07:29:38 version 7.45.18 (r538002) FWID 01-6a2c8ad4
[    3.556408] brcmfmac: brcmf_c_preinit_dcmds: CLM version = API: 12.2 Data: 9.10.105 Compiler: 1.29.4 ClmImport: 1.36.3 Creation: 2018-03-09 18:56:28
[    3.721818] uart-pl011 3f201000.serial: no DMA platform data
[    3.726836] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
[    4.222223] EXT4-fs (mmcblk0p4): mounted filesystem with ordered data mode. Opts: (null)
[    4.447402] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[    4.447410] brcmfmac: power management disabled
[    4.635287] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[    5.893457] 8021q: adding VLAN 0 to HW filter on device eth0
[    5.893677] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    5.950922] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   10.391350] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[   19.031335] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
Thanks,
Best regards

metalmajor
Posts: 33
Joined: Fri Oct 20, 2017 9:40 pm

Re: RP3 B+ internal wifi as AP unstable

Thu Oct 25, 2018 7:50 am

So don't know if this will be the solution, however, after reading up on various problems people have/had with the wifi, I found this info:

https://github.com/raspberrypi/linux/issues/2619

And there the guy explicitly sets "country_code=US" in his config of hostapd. I didn't have that line in there. Also, I explicitly added the "hw_mode=g" line.

So now it works stable, at least for one night already... hopefully this is the fix?

best regards,
Tom,

puccaso
Posts: 9
Joined: Mon Oct 29, 2018 9:56 pm

Re: RP3 B+ internal wifi as AP unstable

Mon Oct 29, 2018 10:56 pm

im having the same issue here pi 3b+ bought in the UK,
get no 5ghz AP's on my list..

i cant even get it to work as a client :/

metalmajor
Posts: 33
Joined: Fri Oct 20, 2017 9:40 pm

Re: RP3 B+ internal wifi as AP unstable

Mon Nov 05, 2018 11:05 pm

Just a quick update: it really works better with country code set to US so this really is the fix it seems.

User avatar
davidcoton
Posts: 3262
Joined: Mon Sep 01, 2014 2:37 pm
Location: Cambridge, UK

Re: RP3 B+ internal wifi as AP unstable

Mon Nov 05, 2018 11:40 pm

metalmajor wrote:
Mon Nov 05, 2018 11:05 pm
Just a quick update: it really works better with country code set to US so this really is the fix it seems.
This line must be set for your country, not US unless that is where you are. It sets the correct regulatory restrictions. If set wrong. the Pi can use illegal channels, which other equipment won't recognise.
"Thanks for saving my life." See https://www.raspberrypi.org/forums/viewtopic.php?p=1327656#p1327656
“Raspberry Pi is a trademark of the Raspberry Pi Foundation”

ejolson
Posts: 2173
Joined: Tue Mar 18, 2014 11:47 am

Re: RP3 B+ internal wifi as AP unstable

Fri Nov 09, 2018 7:39 am

davidcoton wrote:
Mon Nov 05, 2018 11:40 pm
metalmajor wrote:
Mon Nov 05, 2018 11:05 pm
Just a quick update: it really works better with country code set to US so this really is the fix it seems.
This line must be set for your country, not US unless that is where you are. It sets the correct regulatory restrictions. If set wrong. the Pi can use illegal channels, which other equipment won't recognise.
For example, of you purchased and are using your equipment in the UK, the correct setting is

country=GB

I apologize if this is obvious to everyone, but thought I better write it just in case that was the problem.

Return to “Advanced users”