Hi there, i'm trying to get libdrc working on my system, but I can't seem to compile mac80211, this is what I do:
make -C /usr/src/linux-headers-`uname -r` M=`pwd` modules
And this is what I get:
make: Entering directory '/usr/src/linux-headers-3.16.0-28-generic'
CC [M] /home/eirexe/drc-mac80211/main.o
In file included from /home/eirexe/drc-mac80211/main.c:29:0:
/home/eirexe/drc-mac80211/driver-ops.h: In function ‘drv_set_multicast_list’:
/home/eirexe/drc-mac80211/driver-ops.h:255:16: error: ‘const struct ieee80211_ops’ has no member named ‘set_multicast_list’
if (local->ops->set_multicast_list)
^
/home/eirexe/drc-mac80211/driver-ops.h:256:13: error: ‘const struct ieee80211_ops’ has no member named ‘set_multicast_list’
local->ops->set_multicast_list(&local->hw, &sdata->vif,
^
/home/eirexe/drc-mac80211/driver-ops.h: In function ‘drv_flush’:
/home/eirexe/drc-mac80211/driver-ops.h:731:33: warning: passing argument 2 of ‘local->ops->flush’ makes pointer from integer without a cast
local->ops->flush(&local->hw, queues, drop);
^
/home/eirexe/drc-mac80211/driver-ops.h:731:33: note: expected ‘struct ieee80211_vif *’ but argument is of type ‘u32’
/home/eirexe/drc-mac80211/driver-ops.h:731:3: error: too few arguments to function ‘local->ops->flush’
local->ops->flush(&local->hw, queues, drop);
^
scripts/Makefile.build:257: recipe for target '/home/eirexe/drc-mac80211/main.o' failed
make[1]: *** [/home/eirexe/drc-mac80211/main.o] Error 1
Makefile:1345: recipe for target '_module_/home/eirexe/drc-mac80211' failed
make: *** [_module_/home/eirexe/drc-mac80211] Error 2
make: Leaving directory '/usr/src/linux-headers-3.16.0-28-generic'
Is there any way I can fix this issue?