Still got not work to setup a wireless bridge with the webinterface using openwrt 23.05. It took a few minutes with an editor to work, but naming is confusing.
Here is what I did with a D-Link DAP-X1860 A1
Disabled in my linux box wifi and connected to the D-Link DAP-X1860 A1 via ethernet cable. My network is 192.168.178.x. The change of the network must be done before.
If not mentioned, everything is kept default.
/etc/config/network
Added in the section
config interface 'lan'
...
option gateway '192.168.178.1'
list dns '192.168.178.1'
Gateway and DNS uses a Fritzbox, which does not run openwrt.
Be careful what is radio0 and what radio1. With the DAP-X1860 radio0 is 2.4GHz, while with the Archer C7 radio1 is 2.4GHz with the default installation.
/etc/config/wireless
change option channel '1' zu '11' (is my default channel for all bridges)
change option ssid 'OpenWrt' to "SSID-2.4" and "SSID-5" (I don't use 5Ghz)
Set encryption, I used "mixed"
option encryption 'none' to option encryption 'sae-mixed'
(for 2.4 and 5GHz section)
For WPA3 only use "sae".
Set password by adding a line below the 2 "sae-mixed"
option key 'MyPassword'
(for 2.4 and 5GHz section)
Adding at the end:
config wifi-iface 'wifinet2'
option device 'radio0'
option ssid 'RouterToTheInternet'
option encryption 'sae-mixed'
option key 'MyPassword'
option mode 'sta'
option bssid 'CC:....:CA'
option wds '1'
option network 'lan'
This is the configuration for the 2nd router, which is wireless connected. IMHO I would call this master, but the webinterface says it is client, while the D-Link extender is named master.
wifi-device 'radio0' is not active now. You can remove the following line in section wifi-device 'radio0', but I prefer to do the activation via the webinterface in case I configured something wrong.
option disabled '1'
The wireless bridge using the 2.4GHz net works then, except I see the extender in the webinterface as master. Confusing for me, but it works.
Maybe it can make sense to change these options:
option country
option txpower
Don't forget to set dhcp and dns. See How to configure DNS and DHCP with a wireless bridge? - #5 by linuxuser