Removed unused variables
Using MAC for individual channel as its not thread safe and should be independent for each channel