One for the books: deauthenticating ... local choice (Reason: 3=DEAUTH_LEAVING)

one for the books:

kern.info kernel: [ 1821.936640] wlan1: deauthenticating from xx:xx:xx:xx:xx:xx 
                                        by local choice (Reason: 3=DEAUTH_LEAVING)

after struggling with this for days, i came to the idea to change the encryption level at the access point.

Unencrypted ... working - WPA ... ??? and finaly WPA2 ... working

l**3

Are you using dhcpcd instead of dhclient?

https://bbs.archlinux.org/viewtopic.php?id=164279

...not that you'd want to use WPA anyplace you have a choice not to.

hmmm ...
all I can is that I'm running

 lede-17.01.2-ar71xx-generic-archer-c5-v1-squashfs-sysupgrade

out of the box, plus
+ some file systems
+ luci-app-samba

and that there is a file

 \usr\sbin\odhcpd

that's all ...

OK, is this message from the AP (running a WDS or something), or from the client?

I was assuming the latter. What's the dhcp client on the client?

You're right: client-mode

DHCP ... ??? ... it's the native client, as delivered by LEDE;
sorry, that's all I know.

btw
a longer version of the Log-story is:

kern.info kernel: [ 1811.866948] wlan1: authenticate with xx:xx:xx:xx:xx:xx
kern.info kernel: [ 1811.897396] wlan1: send auth to xx:xx:xx:xx:xx:xx (try 1/3)
kern.info kernel: [ 1811.904560] wlan1: authenticated
kern.info kernel: [ 1811.913537] wlan1: associate with xx:xx:xx:xx:xx:xx (try 1/3)
kern.info kernel: [ 1811.922340] wlan1: RX AssocResp from xx:xx:xx:xx:xx:xx (capab=0x431 status=0 aid=2)
kern.info kernel: [ 1811.930369] wlan1: associated
daemon.notice netifd: Network device 'wlan1' link is up
daemon.notice netifd: Interface 'WLAN_2GHz' has link connectivity
daemon.notice netifd: Interface 'WLAN_2GHz' is setting up now
daemon.notice netifd: WLAN_2GHz (5036): udhcpc: started, v1.25.1
daemon.notice netifd: WLAN_2GHz (5036): udhcpc: sending discover
daemon.notice netifd: WLAN_2GHz (5036): udhcpc: sending discover
daemon.notice netifd: WLAN_2GHz (5036): udhcpc: sending discover
kern.info kernel: [ 1821.936640] wlan1: deauthenticating from xx:xx:xx:xx:xx:xx by local choice (Reason: 3=DEAUTH_LEAVING)

I think you'll find the code 3 is just the result of something hanging up the connection after DHCP fails.

As to what makes DHCP fail only on WPA and not on WPA2... that's the mystery.

when wds client connect wds ap. client will report wlan0: deauthenticating from c8:ee:a6:2d:98:10 by local choice (Reason: 3=DEAUTH_LEAVING). But will auto reconnect.