Cognitive radio policy analysis: "Agreement framework" and its implementation