The setup package creates two shortcuts in [Start\Programs\Microsoft Research Asia\Software Radio Academic Kit 2.0]:
  • x86 Checked Build: points to the command line window for winxp_x86 checked build.
  • x86 Free Build: points to the command line window for winxp_x86 free build.
  • x64 Checked Build: points to the command line window for win7_amd64 checked build.
  • x64 Free Build: points to the command line window for win7_amd64 free build.

Please note that the amd64 build environment is only for the sample Miniport driver.
The sample Miniport driver can be built as either 64 bit NDIS6 driver or 32 bit NDIS 5 driver.
NDIS5 is for Windows XP 32 bit edition, while NDIS6 is for Windows 7/8 64 bit edition.
Before you start building the driver, run
%sora_root%\src\set_dirs_x86.cmd
or
%sora_root%\src\set_dirs_x64.cmd
to ensure the dirs files point to the correct folder.

To build the SORA sample code, Windows DDK is required.
Please specify a windows environment variable WINDDK_ROOT which points to your Windows DDK installation path.
Here’s the screenshot as an example:



When the environment variable WINDDK_ROOT is specified, open the command line window by clicking the shortcut to sora build window.
In the command line window, type "bcz" to build the whole source tree.
All target files (exe, dll, lib, sys, etc) are copied to %SORA_ROOT%\target

To be noted, the 802.11a sample code is designed to support both 44MHz and 40MHz sample rate radio front end.
But you need to specify which sample rate hardware are supported at build time.
In %SORA_ROOT%\src\bb\dot11a\dot11\kernel\sources, and %SORA_ROOT%\src\bb\dot11a\dot11\user\sources, __HW_40MHZ_SAMPLE_RATE is for 40MHz sample rate front end, __HW_44MHZ_SAMPLE_RATE for 44MHz sample rate.
If the base band and radio front end are mismatched, the software PHY would not work.

Additionally, SDRMiniport device supports both 802.11a and 802.11b. You can choose to use ‘a’ or ‘b’ base band by modifying driver installation file sdr.inf, ModMode registry section, from “802.11a” to “802.11b”.

Last edited Jun 11, 2014 at 4:08 AM by qiluo, version 1