regd.c fix warning by switching type to void*
regd.c remove extra two args to freq_reg_info()
core.c Point to new struct
Use new helper function to get channel type