hi,
are the mtd memory-only partitions or written to emmc? on second case i need to check if anything else is affected (preloader,head0,head1,atf,uboot,…,existing partitions BPI-BOOT/BPI-ROOT)
thank you for the firmware-files…i will try this instead since it is the linux way
for the mac/cfg80211 patches, second link i found no related to this before…first one i’m searching the patches needed…have not seen the ones i got from patchwork
IEEE80211_KEY_FLAG_GENERATE_MMIE => https://patchwork.kernel.org/patch/11045085/
needs IEEE80211_KEY_FLAG_NO_AUTO_TX for applying => https://patchwork.kernel.org/patch/10860335/
“NLA_POLICY_MAX(NLA_U32, NUM_NL80211_KEYTYPES - 1)” needs this: https://patchwork.kernel.org/patch/10623157/
nl80211_ftm_responder_policy this needs this https://patchwork.kernel.org/patch/10608889/
NL80211_EXT_FEATURE_CAN_REPLACE_PTK0 => https://patchwork.kernel.org/patch/11179155/
last cannot be applied due to missing rtw88 driver…
if i apply first patch manually (ignoring the missing BIT9 value) i get undeclared IEEE80211_HW_TX_STATUS_NO_AMPDU_LEN (https://patchwork.kernel.org/patch/10767013/) which depends on string “MMPDUs on station interfaces” i don’t find any Patch on Patchwork…
i guess it’s easier to integrate in 5.4…seems 5.4 does not need any additional Patches only some small fixes…
driver compiles without any issues…i guess i need only dts-changes now and then can test
btw. i suggest renaming the CONFIG-Symbol as MT7622 is not only a wifi-symbol and may collide with some other symbol…maybe something like MT7622_WIFI or similar
[ 11.592573] mt7622_wmac 18000000.wmac: ASIC revision: 76220010
[ 11.599222] mt7622_wmac 18000000.wmac: Invalid MAC address, using random address 22:03:c9:0f:1b:84
[ 11.608243] mt7622_wmac 18000000.wmac: MAC addr = 22:03:c9:0f:1b:84
[ 11.633005] mt7622_wmac 18000000.wmac: N9 Firmware Version: _reserved_, Build Time: 20190801210351
[ 11.664384] Bluetooth: hci0: Device setup in 331942 usecs
[ 11.708029] mt7622_wmac 18000000.wmac: Firmware init done
[ 11.733544] mt7622_wmac 18000000.wmac: Driver own success
4: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 22:03:c9:0f:1b:84 brd ff:ff:ff:ff:ff:ff
root@bpi-r64:~# uname -a
Linux bpi-r64 5.4.0-rc1-r64 #15 SMP PREEMPT Fri Nov 22 16:04:17 CET 2019 aarch64 GNU/Linux
but hostapd gives me this:
nl80211: Set mode ifindex 4 iftype 3 (AP)
nl80211: Setup AP(wlan0) - device_ap_sme=0 use_monitor=0
nl80211: Subscribe to mgmt frames with AP handle 0x5560da2380
nl80211: Register frame type=0xb0 (WLAN_FC_STYPE_AUTH) nl_handle=0x5560da2380 match=
nl80211: Register frame command failed (type=176): ret=-114 (Operation already in progress)
nl80211: Register frame match - hexdump(len=0): [NULL]
nl80211: Could not configure driver mode
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
nl80211: Remove monitor interface: refcount=0
nl80211: Remove beacon (ifindex=4)
netlink: Operstate: ifindex=4 linkmode=0 (kernel-control), operstate=6 (IF_OPER_UP)
nl80211 driver initialization failed.
hostapd.conf:
ctrl_interface=/var/run/hostapd
#ctrl_interface_group=0 # These 2 are just parameters so that the hostap daemon$
interface=wlan0
driver=nl80211
ssid=r64_AP_1
#2.4G
hw_mode=g
channel=1
#wmm_enabled=1
starting like this:
ip addr add 192.168.19.1/24 dev wlan0
hostapd -dd /etc/hostapd/hostapd.conf