RPC: Add missing SGW driver to Device Code

Conflicts:
	api.c
Bump version to 3.2.2
Revert "Remove autogen.sh from source distributions since it only works with git working trees"

This reverts commit b63f4b934122f784177cbc2a13e60863f6ff1b18.