Either both of the cards must support “ad-hoc” mode (NL80211_IFTYPE_ADHOC for modern kernel drivers), both must support mesh mode (NL80211_IFTYPE_MESH_POINT), or at least one must support master/ap mode (NL80211_IFTYPE_AP).
For ad-hoc mode, it’s pretty much like connecting two machines by ethernet cross-over cable. For master mode, you will need the hostapd userspace daemon. I don’t know how mesh-points work, but it’s probably similar to ad-hoc with the addition of some userspace helper.
|