As far as I know the available linux-headers doesn't fit to the used kernel. It's a modified sunxi kernel.
Please download the modified kernel sources for the BPI-R1 on your BPI-R1 and compile a new kernel. During the "make menuconfig" step choose under the wlan drivers the rt8192cu and disable the other one. It's possible that an "make modules" followed by a "make modules_install" is sufficient, but I haven't tried that. The link to the modified kernel sources for bpi-r1 can be found in this forum.
I don't know, why the 8192cu has been choosen by the bananian maintainer, because the rt8192cu works in my setup flawless. No problems so far with hostapd iw and iwconfig.