Closed btreut closed 3 years ago
guessing wildly, I added the following #ifndef frame to rtw_security.h
--- rtw_security.h_org 2021-02-22 16:31:28.000000000 +0100
+++ rtw_security.h 2021-03-01 08:20:02.000000000 +0100
@@ -252,11 +252,13 @@
#define SEC_IS_BIP_KEY_INSTALLED(sec) _FALSE
#endif
+#ifndef _CRYPTO_SHA_H
struct sha256_state {
u64 length;
u32 state[8], curlen;
u8 buf[64];
};
+#endif
#define GET_ENCRY_ALGO(psecuritypriv, psta, encry_algo, bmcst)\
do {\
and came quite some way further with dkms install rtl8192eu/1.0
, but the next error
/var/lib/dkms/rtl8192eu/1.0/build/os_dep/linux/ioctl_cfg80211.c:9906:3: error: ‘struct cfg80211_ops’ has no member name
d ‘mgmt_frame_register’
.mgmt_frame_register = cfg80211_rtw_mgmt_frame_register,
^~~~~~~~~~~~~~~~~~~
(see included complete make.log) leads me at the dead end of my knowledge.
Finally I got a hint pointing to the Rapberry Pi Forum article and I was able to solve my problem. The driver from fars-robotics.net works nicely.
The puzzling fact is that I had no problems some time ago executing exactly the same steps, but it may be that this was with an older kernel, i. e. before 28. Jan. 2021. Moreover this time the first attempt to install failed due to a missing bc. I had to additionally do an
apt install bc
. But after installing bc, I encountered the error above, which goes beyond my knowledge.Apparently an existing structure definition is redefined, but I don't have any idea how to resolve that. I am not very fluent in C, so any help is apreciated.
How could I switch back to the previous kernel to test/verify my observation that it worked some time ago without any problems?